@nika-js/onlymap 0.6.21 → 0.6.23

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +1 -1
  3. package/dist/{LercDecode.es-B_dD2_mY.js → LercDecode.es-D8gAmIiR.js} +1 -1
  4. package/dist/attribute-resolution.d.ts +43 -1
  5. package/dist/{basemap-DK0AJ6ZH.js → basemap-7kviSfrp.js} +1 -1
  6. package/dist/elements/om-map.d.ts +2 -0
  7. package/dist/{geoparquet-fc2daxMh.js → geoparquet-CdNUwBZW.js} +1 -1
  8. package/dist/html-data.d.ts +14 -0
  9. package/dist/{index-DOPjev5l.js → index-CwCSSbZ_.js} +1 -1
  10. package/dist/{index-BwoceNAo.js → index-CyKFtivx.js} +1 -1
  11. package/dist/{index-9EEyGbU1.js → index-Dl2kmfXC.js} +1 -1
  12. package/dist/{index-CuBGRyG-.js → index-DncpMROY.js} +10482 -10389
  13. package/dist/{index-BNZFF535.js → index-DuNFpOy2.js} +2 -2
  14. package/dist/ir-snapshot.d.ts +2 -0
  15. package/dist/ir.d.ts +8 -0
  16. package/dist/{lerc-CMJO8KZO.js → lerc-CGMS_bHf.js} +2 -2
  17. package/dist/onlymap.standalone.js +22012 -21919
  18. package/dist/onlymapjs.js +1 -1
  19. package/dist/parse-manifest.d.ts +8 -0
  20. package/dist/programmatic.d.ts +2 -0
  21. package/dist/{raster-GMsuQARC.js → raster-BBShuKWm.js} +2 -2
  22. package/dist/{raster-pipeline-DNpKXgO3.js → raster-pipeline-GF1IWgfR.js} +1 -1
  23. package/dist/react.js +18 -17
  24. package/dist/runtime-core.d.ts +13 -1
  25. package/dist/version.d.ts +1 -1
  26. package/dist/{zarr-KiXluGoJ.js → zarr-i8xFRo88.js} +2 -2
  27. package/docs/stories.md +2 -0
  28. package/llms.txt +1 -0
  29. package/onlymapjs.attributes.json +1582 -0
  30. package/onlymapjs.html-data.json +282 -278
  31. package/package.json +2 -1
  32. package/skills/onlymapjs/SKILL.md +1 -1
  33. package/skills/onlymapjs/references/syntax.md +8 -2
@@ -1,5 +1,5 @@
1
- import { i as E, j as S, k as R, o as N, p as h, q as w, s as O, t as W, v as x, w as I, x as B, y as _, A as P, B as k, E as $, F as z, H as v, I as F, J as C, K as U, N as p, O as M } from "./index-CuBGRyG-.js";
2
- import { P as $e, R as ze, _ as ve, Q as Ce, S as Ue, T as Me, U as je, X as De, Y as Je, Z as qe, $ as He, a0 as Ve, a1 as Ge, a2 as Ke, a3 as Qe, a4 as Xe, a5 as Ye, a6 as Ze, a7 as et, a8 as tt, a9 as nt, aa as rt, ab as at, ac as st, ad as ot } from "./index-CuBGRyG-.js";
1
+ import { i as E, j as S, k as R, o as N, p as h, q as w, s as O, t as W, v as x, w as I, x as B, y as _, A as P, B as k, E as $, F as z, H as v, I as F, J as C, K as U, N as p, O as M } from "./index-DncpMROY.js";
2
+ import { P as $e, R as ze, _ as ve, Q as Ce, S as Ue, T as Me, U as je, X as De, Y as Je, Z as qe, $ as He, a0 as Ve, a1 as Ge, a2 as Ke, a3 as Qe, a4 as Xe, a5 as Ye, a6 as Ze, a7 as et, a8 as tt, a9 as nt, aa as rt, ab as at, ac as st, ad as ot } from "./index-DncpMROY.js";
3
3
  import { g as j, i as D } from "./table-accessors-CYWTzpQI.js";
4
4
  async function J(t, e, n = {}, r = {}) {
5
5
  const a = E(t), s = S.getWorkerFarm(n), { source: o } = n, c = { name: a, source: o };
@@ -41,6 +41,8 @@ export interface LayerIRSnapshot {
41
41
  categoryFilter?: LayerCategoryFilter;
42
42
  /** Per-layer terrain mode when authored (`terrain` attribute) — absent = the type default. */
43
43
  terrain?: "drape" | "offset" | "off";
44
+ /** Per-layer zoom visibility (`visible-zoom-range`) when authored — hidden outside min ≤ zoom < max. */
45
+ visibleZoomRange?: [number, number];
44
46
  /**
45
47
  * Resolved deck.gl props, made JSON-safe: compiled accessors appear as
46
48
  * their updateTrigger fingerprint (`[accessor <shape>|<source>]`), other
package/dist/ir.d.ts CHANGED
@@ -89,6 +89,14 @@ export interface LayerIR {
89
89
  shape: Shape;
90
90
  /** The raw `data` URL attribute, if any (ctx.layers metadata) — inline-JSON layers have none. */
91
91
  dataUrl?: string;
92
+ /**
93
+ * Per-layer zoom visibility (`visible-zoom-range="[min, max]"`, public
94
+ * issue #38): hidden outside min ≤ zoom < max (minzoom/maxzoom
95
+ * convention). A RENDER gate composed with authored `visible` in
96
+ * buildLayers — the layer stays a full member of the scene (legend,
97
+ * switcher, ctx) while zoom-hidden.
98
+ */
99
+ visibleZoomRange?: [number, number];
92
100
  /**
93
101
  * The authored live-source options that select this layer's transport
94
102
  * (spec: "Live & Streaming Data"), retained on the IR rather than consumed
@@ -1,4 +1,4 @@
1
- import { C as a, D as s } from "./raster-GMsuQARC.js";
1
+ import { C as a, D as s } from "./raster-BBShuKWm.js";
2
2
  const D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
3
  __proto__: null
4
4
  }, Symbol.toStringTag, { value: "Module" }));
@@ -8,7 +8,7 @@ var t;
8
8
  })(t || (t = {}));
9
9
  let l = !1;
10
10
  async function d() {
11
- const e = await import("./LercDecode.es-B_dD2_mY.js");
11
+ const e = await import("./LercDecode.es-D8gAmIiR.js");
12
12
  return l || (await e.load(), l = !0), e;
13
13
  }
14
14
  async function i(e, r) {