@nika-js/onlymap 0.7.0 → 0.7.2
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 +14 -0
- package/dist/{LercDecode.es-CYOgDeVu.js → LercDecode.es-C1iXusHK.js} +1 -1
- package/dist/{basemap-0rGUZkQT.js → basemap-NsYZE-g8.js} +1 -1
- package/dist/{geoparquet-Cau8fzH7.js → geoparquet-BTBNETKc.js} +1 -1
- package/dist/{index-Bt3U7sbb.js → index-28S7icVh.js} +1 -1
- package/dist/{index-BF3xZe9d.js → index-85aPzhBD.js} +1 -1
- package/dist/{index-CxOS31XG.js → index-C40QUjew.js} +5052 -5040
- package/dist/{index-CriPOt1s.js → index-CisnO31N.js} +2 -2
- package/dist/{index-CpSUZ-J3.js → index-t2y584DK.js} +1 -1
- package/dist/{lerc-aeqKo4fK.js → lerc-Dpc86Tzf.js} +2 -2
- package/dist/onlymap.standalone.js +13598 -13557
- package/dist/onlymapjs.js +1 -1
- package/dist/{raster-D70FrkLt.js → raster-DVcoh7tO.js} +442 -414
- package/dist/{raster-pipeline-A-zvBnKU.js → raster-pipeline-BUuur0I8.js} +38 -36
- package/dist/raster.d.ts +44 -0
- package/dist/version.d.ts +1 -1
- package/dist/widget-registry.d.ts +12 -2
- package/dist/{zarr-DmrbmSNx.js → zarr-BDGjP2SU.js} +2 -2
- package/llms.txt +2 -2
- package/package.json +1 -1
- package/skills/onlymapjs/SKILL.md +1 -1
- package/skills/onlymapjs/references/syntax.md +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,20 @@ 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.7.2 — 2026-09-03
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- **A time or number filter whose data is still loading now works once it arrives.** The filter and time-slider widgets read their slider's range from the layer's data, but were only listening for structural changes — so if the data finished loading after the widget first drew, they never heard about it. The filter came up with an empty range and dragging it selected nothing; the time slider never appeared at all. Whether you hit this came down to which finished first, the data or the page, so the same map could work in one place and not another. Both widgets now follow their own layer's data.
|
|
15
|
+
|
|
16
|
+
## 0.7.1 — 2026-09-03
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
- **A misspelled or invented `<om-behavior action="...">` is now flagged instead of silently doing nothing.** An action the library does not recognise never ran — the manifest validated clean and the interaction was simply dead until someone clicked it. Validation now warns, names the action, and points at the right one (for a click popup that is `show-tooltip` or `show-overlay`). It stays a warning, not an error, because `OmMap.registerAction` may add the action later.
|
|
20
|
+
- **`identify="off"` now actually frees the memory it promised.** The docs said it drops the CPU-retained decode; it only skipped the pixel lookup while still holding every tile's full-band array. Off-mode now releases the array and reports its real GPU-side footprint, which is the difference that matters in a memory-tight WebView. The trade is honest: with the decode released, changing `bands` (or turning identify back on) refetches.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- **The agent guide documents the `draw-*` actions.** `draw-mode`, `draw-commit`, `draw-cancel`, `draw-delete`, `draw-clear`, `draw-config` and `draw-save` drive the same sketch store a `data="draw:<target>"` layer reads, so a custom toolbar can replace the built-in draw widget entirely — they were implemented but missing from `llms.txt`. A test now keeps every built-in widget type and action named there, so the guide cannot fall behind the runtime again.
|
|
24
|
+
|
|
11
25
|
## 0.7.0 — 2026-09-02
|
|
12
26
|
|
|
13
27
|
### Added
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ny, L as sy, M as oy, m as ay, c as ka, a as Sd, z as oc, G as sm, V as ly, W as cy, b as uy, g as hy, d as Vu, f as Ed, e as dy, l as py, u as fy, D as Qf, h as my } from "./index-
|
|
1
|
+
import { C as ny, L as sy, M as oy, m as ay, c as ka, a as Sd, z as oc, G as sm, V as ly, W as cy, b as uy, g as hy, d as Vu, f as Ed, e as dy, l as py, u as fy, D as Qf, h as my } from "./index-C40QUjew.js";
|
|
2
2
|
const Cd = Math.PI / 180, gy = 180 / Math.PI;
|
|
3
3
|
function em(Pe, J = 0) {
|
|
4
4
|
const me = Math.min(180, Pe) * Cd;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ak as Bt, az as Xt, aA as Yt, aB as Us } from "./index-
|
|
1
|
+
import { ak as Bt, az as Xt, aA as Yt, aB as Us } from "./index-C40QUjew.js";
|
|
2
2
|
import { w as gs, t as Hs, f as Ws, m as Qs } from "./mgrs-BY9bIvp4.js";
|
|
3
3
|
import { c as Xs } from "./convert-arrow-schema-DrAihRf9.js";
|
|
4
4
|
import { y as Ys, A as bt, a as Ks, z as Vs, R as Zs } from "./recordbatch-Bpc0uxFn.js";
|