@nika-js/onlymap 0.8.1 → 0.8.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 +19 -0
- package/dist/{LercDecode.es-DKhLh4TO.js → LercDecode.es-DW-G7u1_.js} +1 -1
- package/dist/{basemap-BjXMRr_M.js → basemap-C6mTd_uL.js} +784 -780
- package/dist/basemap.d.ts +2 -0
- package/dist/cartograph/elements/om-frame.d.ts +12 -1
- package/dist/cartograph/georef.d.ts +11 -1
- package/dist/cartograph/graticule.d.ts +1 -1
- package/dist/cartograph/live-frame.d.ts +17 -18
- package/dist/cartograph.js +805 -772
- package/dist/cartograph.standalone.js +1560 -1527
- package/dist/elements/om-map.d.ts +2 -0
- package/dist/{geoparquet-D9pYDrCk.js → geoparquet-CMESy27r.js} +1 -1
- package/dist/{index-BdKNZcs-.js → index-BfL5W1Ay.js} +1 -1
- package/dist/{index-BGQidVp5.js → index-CgpoaR-U.js} +1 -1
- package/dist/{index-CqtubBZ4.js → index-CrMM0kHK.js} +1 -1
- package/dist/{index-D6R4z3Zs.js → index-DgHzTg2n.js} +794 -763
- package/dist/{index-Zm8MxpvR.js → index-FEPpi86V.js} +2 -2
- package/dist/{lerc-BdHcL8pi.js → lerc-BQFrOj7h.js} +2 -2
- package/dist/onlymap.standalone.js +1445 -1410
- package/dist/onlymapjs.js +1 -1
- package/dist/{raster-B7rPpOTP.js → raster-6vW4_NSI.js} +3 -3
- package/dist/{raster-pipeline-X2-mnFQx.js → raster-pipeline-CYiGgsil.js} +1 -1
- package/dist/runtime-core.d.ts +11 -0
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-BF-buFRB.js → zarr-BNQZpB1t.js} +2 -2
- package/llms.txt +1 -1
- package/onlymapjs.html-data.json +4 -0
- package/package.json +3 -3
- package/skills/onlymapjs/references/syntax.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,25 @@ Note: npm collapsed a few closely-spaced releases — the GPX/FlatGeobuf (0.5.4)
|
|
|
8
8
|
and GeoParquet (0.5.5) work shipped to npm together as **0.5.6**, so npm's
|
|
9
9
|
version list jumps 0.5.3 → 0.5.6. Each logical version is listed here regardless.
|
|
10
10
|
|
|
11
|
+
## 0.8.3 — 2026-09-18
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- **A cartograph frame zoomed far out now shows the world wrapping, like any web map, instead of an error.** Zoom out far enough and a frame covers more than the whole world; it used to give up at that point — no scale bar, north arrow, graticule or export, just an error note over the map. The frame now follows the map wherever it goes: the world repeats inside it, the graticule labels each copy correctly, and the scale bar measures the row it sits on. Nothing about the camera is changed or limited.
|
|
15
|
+
- **The north arrow, scale bar, graticule and locator inset now follow the map inside a frame.** Pan, rotate or tilt a live frame's map and, as soon as it settles, everything that describes that frame updates to the view on screen — the compass points at true north for what you're actually looking at, not for the camera the document was saved with. Freezing a frame captures that same view, so a frozen frame keeps the correct north too.
|
|
16
|
+
- **Cartographs saved zoomed-out or steeply tilted open and work again.** Documents that used to open onto an error render as authored, and the file is left exactly as it is.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- **A frame no longer caps the tilt of the map inside it.** 0.8.1 introduced that cap, computed from the frame's shape; the underlying problem was the frame refusing views it could have handled, which is now fixed at the source. `max-pitch` on `<om-map>` remains as an author-set control.
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
- **`min-zoom` on `<om-map>`** floors how far a map can be zoomed out, the companion to `max-pitch`. Useful for keeping a kiosk or embedded map within its intended area. Neither is applied automatically.
|
|
23
|
+
|
|
24
|
+
## 0.8.2 — 2026-09-18
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
- **The tilt limit on a cartograph frame now actually holds.** 0.8.1 worked out how far each frame could tilt and then, on any map with a basemap, failed to tell the map about it — so the camera could still be pushed to a near-horizontal angle where the frame loses its georeference, and with it the scale bar, north arrow, graticule and export. It now holds on every map, and survives switching the basemap.
|
|
28
|
+
- **The limit follows the map instead of being fixed when the frame loads.** Zooming out makes a frame able to tilt less, not more; the ceiling now tightens and loosens as you move the map, rather than staying at whatever the frame was showing when it opened.
|
|
29
|
+
|
|
11
30
|
## 0.8.1 — 2026-09-18
|
|
12
31
|
|
|
13
32
|
### Fixed
|