@nika-js/onlymap 0.10.4 → 0.10.6
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 +34 -0
- package/README.md +1 -1
- package/dist/{basemap-CEk-fwwQ.js → basemap-Do1r50ff.js} +2 -2
- package/dist/cartograph/elements/om-frame.d.ts +55 -2
- package/dist/cartograph/elements/om-source.d.ts +23 -0
- package/dist/cartograph/frame-sources.d.ts +64 -0
- package/dist/cartograph/live-frame.d.ts +8 -2
- package/dist/cartograph.js +1324 -1126
- package/dist/cartograph.standalone.js +1804 -1606
- package/dist/elements/om-map.d.ts +11 -0
- package/dist/{geoparquet-aBafoHei.js → geoparquet-CfnIgWoq.js} +1 -1
- package/dist/{globe-view-CPzn74yH.js → globe-view-CKrjE2_P.js} +1 -1
- package/dist/{hillshade-fonIyeOe.js → hillshade-DYX4HiM6.js} +1 -1
- package/dist/{index-6uyOjvvx.js → index-CLwi0tl1.js} +1 -1
- package/dist/{index-XlX-ORox.js → index-Cr2lpzhG.js} +9673 -9611
- package/dist/{index-CW9LiA0Z.js → index-D7pGwN4r.js} +2 -2
- package/dist/{index-CIiSsOZG.js → index-DfH_mTX9.js} +1 -1
- package/dist/{index-BOXzqzVq.js → index-DwX39Hco.js} +1 -1
- package/dist/{index-BYOHopZU.js → index-jOAZ7MGr.js} +1 -1
- package/dist/{index-irwJUTjX.js → index-pNSDUva1.js} +1 -1
- package/dist/{index-BlwNB2Fo.js → index-q_KoQjsU.js} +3 -3
- package/dist/{index-FP1-ImsV.js → index-xTIB8sjz.js} +3 -3
- package/dist/legend-spec.d.ts +18 -0
- package/dist/{lerc-B_m7L7RH.js → lerc-DIXeSlBh.js} +1 -1
- package/dist/onlymap.standalone.js +18707 -18590
- package/dist/onlymapjs.js +1 -1
- package/dist/{post-process-effect-D-uTiLdK.js → post-process-effect-BSBhBXeu.js} +1 -1
- package/dist/{raster-D3o26cuQ.js → raster-mlOu3P2H.js} +3 -3
- package/dist/{raster-pipeline-1u0HyuNs.js → raster-pipeline-ByRr7hBG.js} +1 -1
- package/dist/runtime-core.d.ts +19 -0
- package/dist/text-on-path-Q0dF8039.js +201 -0
- package/dist/text-on-path.d.ts +51 -11
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-CVVmWsbf.js → zarr-D6-cCHW4.js} +2 -2
- package/docs/cartograph.md +49 -3
- package/docs/design/carto-substrate.md +12 -0
- package/docs/design/frame-sources.md +229 -0
- package/llms.txt +2 -2
- package/onlymapjs.attributes.json +2 -0
- package/onlymapjs.html-data.json +36 -0
- package/package.json +1 -1
- package/skills/onlymapjs/SKILL.md +3 -2
- package/skills/onlymapjs/references/syntax.md +16 -2
- package/dist/text-on-path-DCS_Eg0_.js +0 -146
|
@@ -286,6 +286,17 @@ export declare class OmMapElement extends HTMLElementBase {
|
|
|
286
286
|
}): Promise<{
|
|
287
287
|
settled: boolean;
|
|
288
288
|
}>;
|
|
289
|
+
/**
|
|
290
|
+
* Did this map draw anything — a basemap, rows on any layer, a tile
|
|
291
|
+
* template or a resolved image overlay?
|
|
292
|
+
*
|
|
293
|
+
* Public because a HOST may need to tell "settled and empty" from "settled
|
|
294
|
+
* and drew": `whenSettled()` resolves either way, by design. A cartograph
|
|
295
|
+
* frame uses it to decide that a map document it loaded is not worth
|
|
296
|
+
* showing and to fall through to its next source. Never a quality bar —
|
|
297
|
+
* one drawable thing passes.
|
|
298
|
+
*/
|
|
299
|
+
hasDrawableContent(): boolean;
|
|
289
300
|
/** 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). */
|
|
290
301
|
isDeterministicInternal(): boolean;
|
|
291
302
|
/** What the story-time EffectTrack needs to evaluate legs (om-story builds one when the story clock owns effects — paced stories, determinism). getLayerIRs is a LIVE accessor: reconcile REASSIGNS this.layerIRs, so a captured map reference would go stale after the first reconcile of a run. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as L, j as x, a6 as A, a7 as E, a8 as d, a9 as h, aa as u, ab as z, p as V, W as Z, G as D } from "./index-
|
|
1
|
+
import { d as L, j as x, a6 as A, a7 as E, a8 as d, a9 as h, aa as u, ab as z, p as V, W as Z, G as D } from "./index-Cr2lpzhG.js";
|
|
2
2
|
const c = Math.PI / 180, G = 180 / Math.PI;
|
|
3
3
|
function w(l, t = 0) {
|
|
4
4
|
const a = Math.min(180, l) * c;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { al as P, am as T, an as N, ao as Z, c as B, ap as E, aq as C, ar as b, as as D, at as I, au as O } from "./index-
|
|
1
|
+
import { al as P, am as T, an as N, ao as Z, c as B, ap as E, aq as C, ar as b, as as D, at as I, au as O } from "./index-Cr2lpzhG.js";
|
|
2
2
|
import { N as _, c as H } from "./hillshade-apron-Bem3DWyJ.js";
|
|
3
3
|
import { p as $, h as j, m as A, a as U } from "./hillshade-shader-DI2uLSNU.js";
|
|
4
4
|
function R(t, e, o) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aB as tt, aC as et, aD as j, at as nt, au as ot, aE as B, aF as rt, aG as U, aq as st, ar as _, aH as C, aI as it } from "./index-
|
|
1
|
+
import { aB as tt, aC as et, aD as j, at as nt, au as ot, aE as B, aF as rt, aG as U, aq as st, ar as _, aH as C, aI as it } from "./index-Cr2lpzhG.js";
|
|
2
2
|
const J = Math.PI / 180, T = tt * J;
|
|
3
3
|
function Q(t, r) {
|
|
4
4
|
const n = Math.max(Math.cos(r * J), 1e-6);
|