@nika-js/onlymap 0.6.18 → 0.6.20
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 +12 -0
- package/dist/{LercDecode.es-CFkuAghv.js → LercDecode.es-DiDn51b8.js} +1 -1
- package/dist/{basemap-BYsWqrqp.js → basemap-Bvtudw-w.js} +1054 -1015
- package/dist/basemap.d.ts +19 -1
- package/dist/elements/om-map.d.ts +2 -0
- package/dist/{geoparquet-C5ezOpDN.js → geoparquet-DFfq6-JJ.js} +1 -1
- package/dist/ifc-Dc-TdSJr.js +2 -3
- package/dist/{index-T1jT84TY.js → index-AlG5NjjQ.js} +1 -1
- package/dist/{index-h5A4LBtR.js → index-CPthQWzC.js} +8586 -8569
- package/dist/{index-C7pRTBjN.js → index-Cq0qmoDj.js} +2 -2
- package/dist/{index-B0qtzfOX.js → index-DIHnIeho.js} +1 -1
- package/dist/{index-PHDt5jos.js → index-ZDGLuUoq.js} +1 -1
- package/dist/{lerc-B8gvl7FV.js → lerc-C3kqqJ1B.js} +2 -2
- package/dist/onlymap.standalone.js +14949 -14894
- package/dist/onlymapjs.js +1 -1
- package/dist/{raster-B8bDaA3c.js → raster-6tndfpHv.js} +2 -2
- package/dist/{raster-pipeline-BLKrUZxU.js → raster-pipeline-DVLch-nI.js} +1 -1
- package/dist/runtime-core.d.ts +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-Y8OewWSs.js → zarr-D5UCDgG7.js} +2 -2
- package/package.json +1 -1
- package/skills/onlymapjs/SKILL.md +1 -1
- package/skills/onlymapjs/references/syntax.md +2 -2
package/dist/basemap.d.ts
CHANGED
|
@@ -48,7 +48,25 @@ export declare class MapLibreBasemapAdapter {
|
|
|
48
48
|
zoom: number;
|
|
49
49
|
pitch?: number;
|
|
50
50
|
bearing?: number;
|
|
51
|
-
}, deckProps: DeckProps, showAttribution?: boolean, attributionHost?: HTMLElement);
|
|
51
|
+
}, deckProps: DeckProps, showAttribution?: boolean, attributionHost?: HTMLElement, deterministic?: boolean);
|
|
52
|
+
/**
|
|
53
|
+
* whenSettled's basemap gate (issue #37 follow-up), as an EVENT LATCH
|
|
54
|
+
* rather than a polling predicate: MapLibre's `idle` event is its own
|
|
55
|
+
* definition of done — camera transitions finished, all requested tiles
|
|
56
|
+
* loaded, all fades/transitions complete — which is strictly stronger
|
|
57
|
+
* than `loaded() && areTilesLoaded()` (those say nothing about label
|
|
58
|
+
* fade/collision animation, the measured source of warm-page frame
|
|
59
|
+
* nondeterminism). The latch clears on anything that restarts work
|
|
60
|
+
* (camera writes, a source starting to load, a style change) and sets
|
|
61
|
+
* again only on the next `idle`, so `isIdle()` stays a synchronous read —
|
|
62
|
+
* settleOnce's `loaded()` shape — and both lanes plus `onlymapjs record`
|
|
63
|
+
* inherit it unchanged.
|
|
64
|
+
*/
|
|
65
|
+
private idleLatch;
|
|
66
|
+
private wireIdleLatch;
|
|
67
|
+
isIdle(): boolean;
|
|
68
|
+
/** Camera writes from OUR side must clear the latch immediately — the map's own movestart fires a tick later, and a settle read in that gap would see stale idle. */
|
|
69
|
+
private markBusy;
|
|
52
70
|
/** The overlay deck's live layers — whenSettled's readiness gate (issue #37). */
|
|
53
71
|
getDeckLayers(): {
|
|
54
72
|
isLoaded: boolean;
|
|
@@ -273,6 +273,8 @@ export declare class OmMapElement extends HTMLElementBase {
|
|
|
273
273
|
}): Promise<{
|
|
274
274
|
settled: boolean;
|
|
275
275
|
}>;
|
|
276
|
+
/** Test surface: is the determinism switch active on the core (issue #37 — must be true BEFORE the first render when data-om-recording is authored; the basemap adapter reads it in its constructor). */
|
|
277
|
+
isDeterministicInternal(): boolean;
|
|
276
278
|
injectMapPointInternal(coordinate: [number, number] | null, kind?: "click" | "hover", pointerType?: string): void;
|
|
277
279
|
/** Harness setView (spec: "Consumer Testing Surface") — the one path that reaches pitch/bearing. */
|
|
278
280
|
setViewInternal(partial: {
|
package/dist/ifc-Dc-TdSJr.js
CHANGED
|
@@ -82,12 +82,11 @@ async function le() {
|
|
|
82
82
|
const t = `${Tt}web-ifc-api.js`, e = await (await Lt(t)).text(), o = URL.createObjectURL(new Blob([e], { type: "text/javascript" }));
|
|
83
83
|
let n;
|
|
84
84
|
try {
|
|
85
|
-
n = await import(
|
|
86
|
-
/* @vite-ignore */
|
|
85
|
+
n = await import(/* webpackIgnore: true */ /* @vite-ignore */
|
|
87
86
|
o
|
|
88
87
|
);
|
|
89
88
|
} catch {
|
|
90
|
-
n = await import(`data:text/javascript;base64,${oe(new TextEncoder().encode(e))}`);
|
|
89
|
+
n = await import(/* webpackIgnore: true */ `data:text/javascript;base64,${oe(new TextEncoder().encode(e))}`);
|
|
91
90
|
} finally {
|
|
92
91
|
URL.revokeObjectURL(o);
|
|
93
92
|
}
|