@nika-js/onlymap 0.5.3 → 0.5.7
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 +20 -7
- package/THIRD-PARTY-LICENSES.md +120 -0
- package/dist/{Arrow.dom-BNjbQ9jb.js → Arrow.dom-BFGShwSA.js} +854 -1427
- package/dist/{LercDecode.es-S6KKhkuA.js → LercDecode.es-Bp2rG98n.js} +1 -1
- package/dist/{basemap-BSCq9hHZ.js → basemap-CfOA0HWY.js} +1 -1
- package/dist/builder-CqJZRFaq.js +580 -0
- package/dist/data-layer.d.ts +4 -0
- package/dist/date-format.d.ts +18 -0
- package/dist/flatgeobuf-Cx0IwxhV.js +6332 -0
- package/dist/full.esm-Cl_Dig1y.js +1467 -0
- package/dist/geoparquet-kW7KUrwB.js +35 -0
- package/dist/geoparquet.d.ts +33 -0
- package/dist/image-overlay.d.ts +83 -0
- package/dist/{index-BCgjJcZn.js → index-BLy1eTWe.js} +1 -1
- package/dist/index-BYbMtNVH.js +2301 -0
- package/dist/{index-BoAq5XsU.js → index-CUKgoX_E.js} +13291 -12728
- package/dist/index-CgPV7QlM.js +4019 -0
- package/dist/{index-D1swbykc.js → index-CnY_rdB8.js} +1 -1
- package/dist/{index-DfNGlG_k.js → index-MRS7UAHr.js} +1 -1
- package/dist/{index-BTcRCrfX.js → index-wZ6n6ggy.js} +2 -2
- package/dist/index.d.ts +5 -1
- package/dist/ir-snapshot.d.ts +3 -1
- package/dist/ir.d.ts +18 -0
- package/dist/layer-registry.d.ts +2 -0
- package/dist/{lerc-n0GaWEmL.js → lerc-DWbkmLYR.js} +2 -2
- package/dist/onlymap.standalone.js +59664 -44945
- package/dist/onlymapjs.js +76 -74
- package/dist/{raster-DO-Ex2Lb.js → raster-5jEwGISN.js} +2 -2
- package/dist/validation.d.ts +1 -1
- package/dist/version.d.ts +1 -1
- package/docs/3d-assets.md +1 -1
- package/docs/image-overlays.md +75 -0
- package/llms.txt +7 -4
- package/onlymapjs.html-data.json +147 -86
- package/package.json +5 -1
- package/skills/onlymapjs/SKILL.md +4 -1
- package/skills/onlymapjs/references/syntax.md +120 -19
- package/skills/onlymapjs/references/testing.md +11 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ag as Be, ah as le, ai as ce, aj as De, ak as Oe, al as ke } from "./index-CUKgoX_E.js";
|
|
2
2
|
import { y as ve, a as he, z as G, R as J, A as ue, C as Fe, F as je, n as xe, S as Ie, E as Ne } from "./recordbatch-Bpc0uxFn.js";
|
|
3
3
|
import { g as V, a as fe, b as Le, c as Ue, d as Me, e as qe, m as Ve } from "./table-accessors-CYWTzpQI.js";
|
|
4
4
|
import { c as $e } from "./convert-arrow-schema-DrAihRf9.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as E, j as S, k as R,
|
|
2
|
-
import {
|
|
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-CUKgoX_E.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-CUKgoX_E.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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -33,9 +33,12 @@ import { configureTelemetry } from "./telemetry";
|
|
|
33
33
|
import { configureLicense } from "./license";
|
|
34
34
|
import { validateManifestString } from "./validation";
|
|
35
35
|
import { snapshotIR } from "./ir-snapshot";
|
|
36
|
+
import { resolveImageOverlay } from "./image-overlay";
|
|
36
37
|
export { registerLayer, getLayerSchema } from "./layer-registry";
|
|
37
38
|
export type { LayerSchema, PropDescriptor, PropKind } from "./layer-registry";
|
|
38
|
-
export type { LayerIR, LayerMeta, LayerFilter, LayerData, ColumnarData } from "./ir";
|
|
39
|
+
export type { LayerIR, LayerMeta, LayerFilter, LayerData, ColumnarData, LayerAssetState } from "./ir";
|
|
40
|
+
export { resolveImageOverlay, DRONE_SENSOR_DATABASE } from "./image-overlay";
|
|
41
|
+
export type { ImageBounds, DroneExifData, DroneImageMetadata, DroneSensorDimensions, ResolveImageOverlayOptions, ResolvedImageOverlay, } from "./image-overlay";
|
|
39
42
|
export { isColumnar, asRows, rowAt, normalizeData, arrowTableToColumnar } from "./data-layer";
|
|
40
43
|
export type { ArrowTableLike } from "./data-layer";
|
|
41
44
|
export { registerSource } from "./data-layer";
|
|
@@ -116,5 +119,6 @@ export declare const OmMap: {
|
|
|
116
119
|
configureLicense: typeof configureLicense;
|
|
117
120
|
validate: typeof validateManifestString;
|
|
118
121
|
snapshotIR: typeof snapshotIR;
|
|
122
|
+
resolveImageOverlay: typeof resolveImageOverlay;
|
|
119
123
|
loadRasterModule: typeof loadRasterModule;
|
|
120
124
|
};
|
package/dist/ir-snapshot.d.ts
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* (snapshots are side-effect-free; a URL-backed layer shows the same empty
|
|
23
23
|
* placeholder the live Q6 pre-fetch state has).
|
|
24
24
|
*/
|
|
25
|
-
import type { LayerMeta, LayerFilter } from "./ir";
|
|
25
|
+
import type { LayerMeta, LayerFilter, LayerAssetState } from "./ir";
|
|
26
26
|
import type { Shape } from "./expr";
|
|
27
27
|
export interface LayerIRSnapshot {
|
|
28
28
|
id: string;
|
|
@@ -32,6 +32,8 @@ export interface LayerIRSnapshot {
|
|
|
32
32
|
dataUrl?: string;
|
|
33
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
34
|
tileData?: string;
|
|
35
|
+
/** Async non-row asset state. Snapshot mode never fetches, so EXIF overlays without bounds are pending. */
|
|
36
|
+
asset?: LayerAssetState;
|
|
35
37
|
/** Resolved row count: inline JSON rows, or 0 for URL-backed/absent data. */
|
|
36
38
|
rows: number;
|
|
37
39
|
meta: LayerMeta;
|
package/dist/ir.d.ts
CHANGED
|
@@ -42,6 +42,18 @@ export interface LayerFilter {
|
|
|
42
42
|
field: string;
|
|
43
43
|
range: [number, number];
|
|
44
44
|
}
|
|
45
|
+
/** Async non-row asset resolution carried by the IR (currently ImageOverlay EXIF only). */
|
|
46
|
+
export interface LayerAssetState {
|
|
47
|
+
kind: "image-overlay";
|
|
48
|
+
/** Cache identity: source URL + resolver overrides. */
|
|
49
|
+
key: string;
|
|
50
|
+
sourceUrl: string;
|
|
51
|
+
status: "pending" | "resolved" | "error";
|
|
52
|
+
/** JSON-safe resolved metadata; absent while pending and for explicit-bounds reconstruction. */
|
|
53
|
+
metadata?: unknown;
|
|
54
|
+
/** Settled failure text. Errors never keep map readiness pending. */
|
|
55
|
+
error?: string;
|
|
56
|
+
}
|
|
45
57
|
export interface LayerIR {
|
|
46
58
|
/** Stable identity — keyed 1:1 to the `id` attribute. Required. */
|
|
47
59
|
id: string;
|
|
@@ -62,6 +74,12 @@ export interface LayerIR {
|
|
|
62
74
|
* and stats/filter/viewport machinery no-ops (there are no local rows).
|
|
63
75
|
*/
|
|
64
76
|
tileData?: string;
|
|
77
|
+
/**
|
|
78
|
+
* A layer-owned asset that resolves outside the row Data Layer. Pending
|
|
79
|
+
* assets stay in the authored IR/license count but are skipped by the
|
|
80
|
+
* renderer until a follow-up reconcile supplies resolved props.
|
|
81
|
+
*/
|
|
82
|
+
asset?: LayerAssetState;
|
|
65
83
|
meta: LayerMeta;
|
|
66
84
|
/** The layer's active declarative filter, if `filter-field`/`filter-range` are present. */
|
|
67
85
|
filter?: LayerFilter;
|
package/dist/layer-registry.d.ts
CHANGED
|
@@ -50,6 +50,8 @@ export interface LayerSchema {
|
|
|
50
50
|
* `compact`/`neverHides` widget-flag precedent — one source of truth).
|
|
51
51
|
*/
|
|
52
52
|
carriesTileset?: boolean;
|
|
53
|
+
/** Layer-owned async asset resolver; keeps parse/runtime branching registry-driven rather than name-matched. */
|
|
54
|
+
assetResolver?: "image-overlay";
|
|
53
55
|
}
|
|
54
56
|
export declare function registerLayer(schema: Omit<LayerSchema, "tier"> & {
|
|
55
57
|
tier?: LayerSchema["tier"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as a, D as s } from "./raster-
|
|
1
|
+
import { C as a, D as s } from "./raster-5jEwGISN.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-Bp2rG98n.js");
|
|
12
12
|
return l || (await e.load(), l = !0), e;
|
|
13
13
|
}
|
|
14
14
|
async function i(e, r) {
|