@nika-js/onlymap 0.8.4 → 0.9.0
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/README.md +32 -2
- package/dist/{LercDecode.es-BKustV-1.js → LercDecode.es-BMcxSLhD.js} +1 -1
- package/dist/{basemap-B0SwrOqQ.js → basemap-m98j2wxG.js} +780 -780
- package/dist/elements/om-map.d.ts +10 -0
- package/dist/{geoparquet-C5E6N6G0.js → geoparquet-XOwOmChh.js} +1 -1
- package/dist/html-data.d.ts +1 -1
- package/dist/{index-CaM1C93G.js → index-BMbpftvm.js} +1 -1
- package/dist/{index-D5Fqn_eZ.js → index-BSAY6CWm.js} +12139 -11698
- package/dist/index-CfPbQUqO.js +511 -0
- package/dist/{index-BnQDfKfE.js → index-DDNElBTs.js} +106 -106
- package/dist/{index-xUVMTGZG.js → index-DzOvV-O7.js} +25 -25
- package/dist/{index-BLIjrGOE.js → index-HZWdgtm4.js} +36 -36
- package/dist/index.d.ts +3 -0
- package/dist/{lerc-TxsFLMlC.js → lerc-qK-nhCaB.js} +2 -2
- package/dist/onlymap.standalone.js +26772 -25833
- package/dist/onlymapjs.js +101 -98
- package/dist/post-process/catalogue.d.ts +61 -0
- package/dist/post-process/compile.d.ts +37 -0
- package/dist/post-process/index.d.ts +71 -0
- package/dist/post-process/ops.d.ts +22 -0
- package/dist/post-process/presets.d.ts +33 -0
- package/dist/post-process/validate.d.ts +8 -0
- package/dist/programmatic.d.ts +11 -0
- package/dist/{raster-B_wekCHv.js → raster-Dg5p_99H.js} +3 -3
- package/dist/{raster-pipeline-Dn2fkLYx.js → raster-pipeline-DhjkqDYd.js} +1 -1
- package/dist/runtime-core.d.ts +39 -1
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-Dan2ab-l.js → zarr-D3CzK1Zm.js} +2 -2
- package/docs/cartograph.md +2 -2
- package/docs/effects.md +197 -0
- package/llms.txt +2 -1
- package/onlymapjs.html-data.json +163 -0
- package/package.json +3 -3
- package/skills/onlymapjs/SKILL.md +3 -2
- package/skills/onlymapjs/references/syntax.md +9 -2
|
@@ -403,6 +403,16 @@ export declare class OmMapElement extends HTMLElementBase {
|
|
|
403
403
|
* shouldn't trigger a reconcile per edit.
|
|
404
404
|
*/
|
|
405
405
|
private scheduleReconcile;
|
|
406
|
+
/**
|
|
407
|
+
* Hand the runtime this map's `<om-effect>` chain.
|
|
408
|
+
*
|
|
409
|
+
* The presence check is eager and the PARSE is not: the op catalogue and its
|
|
410
|
+
* GLSL live in a lazy chunk, so a map with no effects — which is almost
|
|
411
|
+
* every map — never downloads a line of it. The runtime compares the chain
|
|
412
|
+
* by value, so re-parsing on every reconcile costs nothing when nothing
|
|
413
|
+
* changed.
|
|
414
|
+
*/
|
|
415
|
+
private reconcileEffects;
|
|
406
416
|
private reconcile;
|
|
407
417
|
/**
|
|
408
418
|
* Re-runs on every reconcile when the `validate` attribute is present —
|
package/dist/html-data.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ interface TagData {
|
|
|
15
15
|
}[];
|
|
16
16
|
}
|
|
17
17
|
/** Hand-authored action list — validated against hasAction() in html-data.test.ts. */
|
|
18
|
-
export declare const BUILTIN_ACTIONS: readonly ["toggle-layer", "set-pickable", "zoom-in", "zoom-out", "filter-layer", "highlight-feature", "fade", "pulse", "populate", "trace", "story-play", "story-pause", "story-seek", "fly-to", "zoom-to-feature", "show-overlay", "hide-overlay", "show-tooltip", "hide-tooltip", "draw-mode", "draw-commit", "draw-cancel", "draw-delete", "draw-clear", "draw-config", "draw-save", "export-region-3d", "measure-mode", "measure-clear", "measure-units", "set-basemap", "set-lighting", "set-terrain", "set-clip-box", "clip-box-edit", "set-widgets-visible", "undo", "redo", "warm-tiles"];
|
|
18
|
+
export declare const BUILTIN_ACTIONS: readonly ["toggle-layer", "set-pickable", "zoom-in", "zoom-out", "filter-layer", "highlight-feature", "fade", "pulse", "populate", "trace", "story-play", "story-pause", "story-seek", "fly-to", "zoom-to-feature", "show-overlay", "hide-overlay", "show-tooltip", "hide-tooltip", "draw-mode", "draw-commit", "draw-cancel", "draw-delete", "draw-clear", "draw-config", "draw-save", "export-region-3d", "measure-mode", "measure-clear", "measure-units", "set-basemap", "set-effect", "set-lighting", "set-terrain", "set-clip-box", "clip-box-edit", "set-widgets-visible", "undo", "redo", "warm-tiles"];
|
|
19
19
|
/** Hand-authored widget types — validated against the widget registry in html-data.test.ts. */
|
|
20
20
|
export declare const BUILTIN_WIDGETS: readonly ["legend", "layer-switcher", "zoom-controls", "scale-bar", "attribution", "filter", "vega-lite", "dynamic-chart", "player", "draw", "measure", "basemap-switcher", "lighting", "clip-box", "undo-redo", "widgets-toggle", "time-slider", "ifc-browser", "ifc-legend", "feature-inspector", "ifc-inspector", "ifc-loader", "ifc-clash"];
|
|
21
21
|
export declare function buildHtmlCustomData(): {
|