@nika-js/onlymap 0.5.0 → 0.5.1
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/README.md +3 -2
- package/dist/{LercDecode.es-B-OFS9hR.js → LercDecode.es-BNF7PeWz.js} +1 -1
- package/dist/{basemap-CXVNH22A.js → basemap-7GQL0KSL.js} +1 -1
- package/dist/data-layer.d.ts +11 -0
- package/dist/{index-BonJP_St.js → index-7PZgoR0X.js} +1 -1
- package/dist/{index-CjZMcGou.js → index-9W_UXlPB.js} +2 -2
- package/dist/{index-DuY3Zn6r.js → index-BKiYWYJz.js} +1 -1
- package/dist/{index-DE7T4lfa.js → index-ULFXRQAo.js} +1 -1
- package/dist/{index-DiYFebYs.js → index-ppCRU8Eb.js} +1931 -1919
- package/dist/ir-snapshot.d.ts +2 -0
- package/dist/ir.d.ts +7 -0
- package/dist/{lerc-BhtFlCQ3.js → lerc-C-D0ZLmp.js} +2 -2
- package/dist/onlymap.standalone.js +3410 -3398
- package/dist/onlymapjs.js +1 -1
- package/dist/{raster-BpVAEzbU.js → raster-D43jYSib.js} +2 -2
- package/dist/version.d.ts +1 -1
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/skills/onlymapjs/SKILL.md +1 -1
- package/skills/onlymapjs/references/syntax.md +18 -2
package/dist/ir-snapshot.d.ts
CHANGED
|
@@ -30,6 +30,8 @@ export interface LayerIRSnapshot {
|
|
|
30
30
|
shape: Shape;
|
|
31
31
|
/** Present when the layer declares a `data` URL — never fetched here. */
|
|
32
32
|
dataUrl?: string;
|
|
33
|
+
/** A `{z}/{x}/{y}` tile URL template (TileLayer/MVTLayer `data`), passed through to deck verbatim. Part of the layer's meaning — locked here. */
|
|
34
|
+
tileData?: string;
|
|
33
35
|
/** Resolved row count: inline JSON rows, or 0 for URL-backed/absent data. */
|
|
34
36
|
rows: number;
|
|
35
37
|
meta: LayerMeta;
|
package/dist/ir.d.ts
CHANGED
|
@@ -55,6 +55,13 @@ export interface LayerIR {
|
|
|
55
55
|
shape: Shape;
|
|
56
56
|
/** The raw `data` URL attribute, if any (ctx.layers metadata) — inline-JSON layers have none. */
|
|
57
57
|
dataUrl?: string;
|
|
58
|
+
/**
|
|
59
|
+
* A `{z}/{x}/{y}` tile URL template (spec: "Tiled layers"): deck's `data`
|
|
60
|
+
* for TileLayer/MVTLayer. When set, the renderer passes THIS as `data`
|
|
61
|
+
* (deck expands it per tile) instead of the fetched-rows `data` placeholder,
|
|
62
|
+
* and stats/filter/viewport machinery no-ops (there are no local rows).
|
|
63
|
+
*/
|
|
64
|
+
tileData?: string;
|
|
58
65
|
meta: LayerMeta;
|
|
59
66
|
/** The layer's active declarative filter, if `filter-field`/`filter-range` are present. */
|
|
60
67
|
filter?: LayerFilter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as a, D as s } from "./raster-
|
|
1
|
+
import { C as a, D as s } from "./raster-D43jYSib.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-
|
|
11
|
+
const e = await import("./LercDecode.es-BNF7PeWz.js");
|
|
12
12
|
return l || (await e.load(), l = !0), e;
|
|
13
13
|
}
|
|
14
14
|
async function i(e, r) {
|