@nika-js/onlymap 0.6.15 → 0.6.17
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 +21 -0
- package/README.md +2 -2
- package/bin/onlymapjs.mjs +287 -24
- package/dist/{LercDecode.es-BWmtr6fp.js → LercDecode.es-DjPA9zLm.js} +1 -1
- package/dist/actions.d.ts +0 -9
- package/dist/{basemap-DQeUv-pk.js → basemap-DwN5jPCj.js} +1 -1
- package/dist/elements/om-map.d.ts +7 -0
- package/dist/elements/om-story.d.ts +29 -0
- package/dist/{geoparquet-DsYXvvEo.js → geoparquet-DG3VtNgs.js} +1 -1
- package/dist/html-data.d.ts +1 -1
- package/dist/{index-BTJy4dWy.js → index-BM-txQRw.js} +1 -1
- package/dist/{index-Bnkk4jcp.js → index-CX4qxgVT.js} +48373 -48080
- package/dist/{index-DMRuqiXV.js → index-DceORL-v.js} +2 -2
- package/dist/{index-CbHslg3u.js → index-DlXIfdhF.js} +1 -1
- package/dist/{index-gMV11Nr5.js → index-Yl9rVUWh.js} +1 -1
- package/dist/layers/feature-mesh-layer.d.ts +7 -7
- package/dist/layers/warm-tile3d-layer.d.ts +24 -0
- package/dist/{lerc-Cw1YMyb0.js → lerc-BD1Any2Z.js} +2 -2
- package/dist/onlymap.standalone.js +59243 -58950
- package/dist/onlymapjs.js +1 -1
- package/dist/paced-flyby.d.ts +51 -0
- package/dist/{raster-BJaQlAzq.js → raster-Cv5w_kS7.js} +2 -2
- package/dist/{raster-pipeline-BCVaME9y.js → raster-pipeline-Nl0EF5em.js} +1 -1
- package/dist/runtime-core.d.ts +6 -0
- package/dist/telemetry-schema.d.ts +10 -2
- package/dist/telemetry.d.ts +4 -0
- package/dist/tile-warm.d.ts +144 -0
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-C6xeWGwX.js → zarr-aau6eARi.js} +2 -2
- package/docs/design/paced-flyby.md +42 -0
- package/docs/stories.md +22 -0
- package/docs/telemetry.md +2 -0
- package/llms.txt +4 -2
- package/onlymapjs.html-data.json +18 -0
- package/package.json +1 -1
- package/skills/onlymapjs/SKILL.md +1 -1
- package/skills/onlymapjs/references/syntax.md +12 -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-
|
|
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-
|
|
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-CX4qxgVT.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-CX4qxgVT.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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ak as Bt, ax as Xt, ay as Yt, az as Us } from "./index-
|
|
1
|
+
import { ak as Bt, ax as Xt, ay as Yt, az as Us } from "./index-CX4qxgVT.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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ag as Be, ah as le, ai as ce, aj as De, ak as Oe, al as ke } from "./index-
|
|
1
|
+
import { ag as Be, ah as le, ai as ce, aj as De, ak as Oe, al as ke } from "./index-CX4qxgVT.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";
|
|
@@ -198,16 +198,16 @@ export declare class FeatureMeshLayer extends CompositeLayer<FeatureMeshLayerOut
|
|
|
198
198
|
length: number;
|
|
199
199
|
attributes?: Record<string, import("@math.gl/types").TypedArray | import("@luma.gl/core").Buffer | import("@deck.gl/core").BinaryAttribute>;
|
|
200
200
|
} | Iterable<unknown> | AsyncIterable<unknown[]> | Promise<import("@deck.gl/core").LayerData<unknown>> | null;
|
|
201
|
-
mesh: string |
|
|
201
|
+
mesh: string | Geometry | {
|
|
202
202
|
attributes: import("@loaders.gl/schema").MeshAttributes;
|
|
203
203
|
indices?: import("@loaders.gl/schema").MeshAttribute;
|
|
204
|
-
} |
|
|
204
|
+
} | import("@loaders.gl/schema").MeshAttributes | Promise<Geometry | {
|
|
205
205
|
attributes: import("@loaders.gl/schema").MeshAttributes;
|
|
206
206
|
indices?: import("@loaders.gl/schema").MeshAttribute;
|
|
207
|
-
}> | null;
|
|
208
|
-
texture: string |
|
|
207
|
+
} | import("@loaders.gl/schema").MeshAttributes> | null;
|
|
208
|
+
texture: string | import("@luma.gl/core").Texture | import("@luma.gl/core").TextureProps | HTMLImageElement | ImageData | HTMLCanvasElement | HTMLVideoElement | ImageBitmap | Promise<import("@deck.gl/core").TextureSource>;
|
|
209
209
|
textureParameters: import("@luma.gl/core").SamplerProps | null;
|
|
210
|
-
getPosition: readonly [number, number] | readonly [number, number
|
|
210
|
+
getPosition: readonly [number, number, number] | readonly [number, number] | Readonly<Float32Array<ArrayBufferLike>> | Readonly<Float64Array<ArrayBufferLike>> | import("@deck.gl/core").AccessorFunction<unknown, import("@deck.gl/core").Position>;
|
|
211
211
|
getColor: readonly [number, number, number] | readonly [number, number, number, number] | Readonly<Uint8Array<ArrayBufferLike>> | Readonly<Uint8ClampedArray<ArrayBufferLike>> | import("@deck.gl/core").AccessorFunction<unknown, import("@deck.gl/core").Color>;
|
|
212
212
|
getOrientation: readonly [number, number, number] | import("@deck.gl/core").AccessorFunction<unknown, readonly [number, number, number]>;
|
|
213
213
|
getScale: readonly [number, number, number] | import("@deck.gl/core").AccessorFunction<unknown, readonly [number, number, number]>;
|
|
@@ -232,13 +232,13 @@ export declare class FeatureMeshLayer extends CompositeLayer<FeatureMeshLayerOut
|
|
|
232
232
|
signal?: AbortSignal;
|
|
233
233
|
}) => any;
|
|
234
234
|
updateTriggers: Record<string, any>;
|
|
235
|
-
operation: "
|
|
235
|
+
operation: "mask" | "draw" | "terrain" | "mask+mask" | "mask+draw" | "mask+terrain" | "draw+mask" | "draw+draw" | "draw+terrain" | "terrain+mask" | "terrain+draw" | "terrain+terrain";
|
|
236
236
|
visible: boolean;
|
|
237
237
|
pickable: boolean | "3d";
|
|
238
238
|
opacity: number;
|
|
239
239
|
coordinateSystem: "default" | "lnglat" | "meter-offsets" | "lnglat-offsets" | "cartesian";
|
|
240
240
|
coordinateOrigin: [number, number, number];
|
|
241
|
-
modelMatrix:
|
|
241
|
+
modelMatrix: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Uint8ClampedArray<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike> | Matrix4 | import("@math.gl/types").NumberArray16 | null;
|
|
242
242
|
wrapLongitude: boolean;
|
|
243
243
|
positionFormat: "XYZ" | "XY";
|
|
244
244
|
colorFormat: "RGBA" | "RGB";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type AnyRecord = Record<string, unknown>;
|
|
2
|
+
interface Tile3DInternals {
|
|
3
|
+
props: AnyRecord;
|
|
4
|
+
state: AnyRecord;
|
|
5
|
+
updateState(params: never): void;
|
|
6
|
+
_updateTileset(viewports?: AnyRecord): void;
|
|
7
|
+
}
|
|
8
|
+
declare const Base: new (...args: unknown[]) => Tile3DInternals;
|
|
9
|
+
export declare class WarmableTile3DLayer extends Base {
|
|
10
|
+
static layerName: string;
|
|
11
|
+
static defaultProps: {
|
|
12
|
+
warmViewports: {
|
|
13
|
+
type: string;
|
|
14
|
+
value: null;
|
|
15
|
+
compare: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
updateState(params: {
|
|
19
|
+
props: AnyRecord;
|
|
20
|
+
oldProps: AnyRecord;
|
|
21
|
+
}): void;
|
|
22
|
+
_updateTileset(viewports?: AnyRecord): void;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as a, D as s } from "./raster-
|
|
1
|
+
import { C as a, D as s } from "./raster-Cv5w_kS7.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-DjPA9zLm.js");
|
|
12
12
|
return l || (await e.load(), l = !0), e;
|
|
13
13
|
}
|
|
14
14
|
async function i(e, r) {
|