@zwishing/emap 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.3.3] - 2026-05-24
11
+
12
+ ### Performance
13
+
14
+ - Slow pan/wheel navigation now reuses the previous rendered canvas frame via
15
+ CSS transform while a full redraw is deferred until interaction end. The
16
+ scheduler avoids synchronous canvas readback, preventing the zoom jank seen
17
+ with `getImageData()`-based frame timing.
18
+ - Canvas stroke batching now flushes paths every 100 arcs/paths instead of 25,
19
+ matching mapshaper's lower-overhead draw cadence for large topology renders.
20
+ - Viewport arc filtering skips per-arc checks near full extent and raises the
21
+ minimum visible path threshold to 0.35px, reducing redraw work without
22
+ changing zoomed-in detail.
23
+ - `DrawFeatureHandler._findSnapTarget` now filters candidate vertices and arc
24
+ segments by a world-space bbox derived from the cursor's pixel `snapThreshold`,
25
+ skipping `project()`/`hypot()` on points that cannot win. Removes the per-frame
26
+ O(N) cost over the entire `xx/yy` arrays on large topologies, making snapping
27
+ responsive on datasets with hundreds of thousands of vertices.
28
+
10
29
  ## [0.3.2] - 2026-05-23
11
30
 
12
31
  ### Added
@@ -363,7 +382,10 @@ Initial public release.
363
382
  - Distributed control stylesheet as `dist/emap.css` (importable via
364
383
  `@zwishing/emap/style.css`).
365
384
 
366
- [Unreleased]: https://github.com/zwishing/emap/compare/v0.3.0...HEAD
385
+ [Unreleased]: https://github.com/zwishing/emap/compare/v0.3.3...HEAD
386
+ [0.3.3]: https://github.com/zwishing/emap/compare/v0.3.2...v0.3.3
387
+ [0.3.2]: https://github.com/zwishing/emap/compare/v0.3.1...v0.3.2
388
+ [0.3.1]: https://github.com/zwishing/emap/compare/v0.3.0...v0.3.1
367
389
  [0.3.0]: https://github.com/zwishing/emap/compare/v0.2.0...v0.3.0
368
390
  [0.2.0]: https://github.com/zwishing/emap/compare/v0.1.3...v0.2.0
369
391
  [0.1.3]: https://github.com/zwishing/emap/compare/v0.1.2...v0.1.3