@nika-js/onlymap 0.11.8 → 0.11.9

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{basemap-CFBn4Xl9.js → basemap-t-PHB_Pu.js} +2 -2
  3. package/dist/data-layer.d.ts +3 -0
  4. package/dist/elements/om-map.d.ts +3 -0
  5. package/dist/{geoparquet-4Do2vscp.js → geoparquet-DTJd2aSg.js} +1 -1
  6. package/dist/{globe-view-CkJR_AnY.js → globe-view-C3wCRrI5.js} +1 -1
  7. package/dist/{hillshade-BYgQgSDu.js → hillshade-BsFo5EQa.js} +1 -1
  8. package/dist/{index-COjrgKX8.js → index-B0CFKhL1.js} +5661 -5633
  9. package/dist/{index-Du-3KfDZ.js → index-C-27TeLS.js} +1 -1
  10. package/dist/{index-BXjiBP1F.js → index-CVudT7Jx.js} +3 -3
  11. package/dist/{index-DyXu8wbK.js → index-CkoZRLXw.js} +1 -1
  12. package/dist/{index-D7Xj3dSg.js → index-CmebKPpS.js} +1 -1
  13. package/dist/{index-DT2RpSxM.js → index-CvYrJQAF.js} +2 -2
  14. package/dist/{index-BvNIWDg6.js → index-Cz8al9P3.js} +1 -1
  15. package/dist/{index-D57ncSYm.js → index-DnCja0BT.js} +1 -1
  16. package/dist/{index-DVQmGY-A.js → index-tdZDxE69.js} +3 -3
  17. package/dist/{lerc-CWZuxmH2.js → lerc-DNRQ6_Sp.js} +1 -1
  18. package/dist/onlymap.standalone.js +10899 -10871
  19. package/dist/onlymapjs.js +1 -1
  20. package/dist/parse-manifest.d.ts +12 -0
  21. package/dist/{post-process-effect-BrfN_OHZ.js → post-process-effect-DAz0ISd4.js} +1 -1
  22. package/dist/{raster-pipeline-BpQIs6kC.js → raster-pipeline-B2vifX-A.js} +1 -1
  23. package/dist/{raster-BvmCiRyN.js → raster-veW80Eoz.js} +3 -3
  24. package/dist/{text-on-path-CZgp3O8w.js → text-on-path-BZxqgwi2.js} +1 -1
  25. package/dist/version.d.ts +1 -1
  26. package/dist/{zarr-0D_FIxaR.js → zarr-7uar2Wec.js} +2 -2
  27. package/docs/cartograph.md +2 -2
  28. package/llms.txt +1 -1
  29. package/onlymapjs.html-data.json +1 -1
  30. package/package.json +1 -1
  31. package/skills/onlymapjs/SKILL.md +1 -1
  32. package/skills/onlymapjs/references/syntax.md +5 -3
package/CHANGELOG.md CHANGED
@@ -8,6 +8,12 @@ Note: npm collapsed a few closely-spaced releases — the GPX/FlatGeobuf (0.5.4)
8
8
  and GeoParquet (0.5.5) work shipped to npm together as **0.5.6**, so npm's
9
9
  version list jumps 0.5.3 → 0.5.6. Each logical version is listed here regardless.
10
10
 
11
+ ## 0.11.9 — 2026-10-05
12
+
13
+ ### Fixed
14
+ - **A layer whose data can't be loaded now says so.** If a layer's `data` address fails (a typo, a missing file, a blocked request), the map reports it in its validation panel and diagnostics, with what to check, instead of quietly drawing nothing. The report clears once the data loads.
15
+ - **Writing rows directly into `data=` is now flagged.** `data` is always an address; rows written there draw nothing. The validator now says so and points to the inline `<script type="application/json">` form.
16
+
11
17
  ## 0.11.8 — 2026-10-05
12
18
 
13
19
  ### Fixed
@@ -1,5 +1,5 @@
1
- import { aJ as Y_, N as Bu, H as Pd, k as K_, aK as J_, aL as Q_, D as Xf, Z as ey } from "./index-COjrgKX8.js";
2
- import { a as ty } from "./globe-view-CkJR_AnY.js";
1
+ import { aJ as Y_, N as Bu, H as Pd, k as K_, aK as J_, aL as Q_, D as Xf, Z as ey } from "./index-B0CFKhL1.js";
2
+ import { a as ty } from "./globe-view-C3wCRrI5.js";
3
3
  const iy = {
4
4
  copy: "©",
5
5
  reg: "®",
@@ -167,6 +167,9 @@ export declare function getDrawData(url: string): LayerData;
167
167
  * call for a given URL, and invokes `onLoaded` on every resolution/flush (the
168
168
  * caller re-reconciles from there).
169
169
  */
170
+ /** Why the first load of `url` (with these live options) failed, or null —
171
+ * read on every reconcile so a fixed URL stops reporting. */
172
+ export declare function dataLoadError(url: string, opts?: StreamOptions): string | null;
170
173
  export declare function getData(url: string, onLoaded: () => void, opts?: StreamOptions, owner?: DataTransportOwner): LayerData;
171
174
  /**
172
175
  * Is a fetch for this URL still in flight? Feeds the `om-map-ready` signal —
@@ -65,6 +65,9 @@ export declare class OmMapElement extends HTMLElementBase {
65
65
  private overlayFlushPending;
66
66
  private errorPanel;
67
67
  private runtimeErrors;
68
+ /** Layers whose `data` failed to load, as of the LAST reconcile — replaced
69
+ * each pass (not accumulated like runtimeErrors), so a fixed URL clears. */
70
+ private dataLoadFailures;
68
71
  /** Host diagnostics channel (the `diagnostics` property) — see its setter. */
69
72
  private diagnosticsOn;
70
73
  /** The last merged static + runtime report, while anyone is listening. */
@@ -1,4 +1,4 @@
1
- import { a4 as p, a5 as d } from "./index-COjrgKX8.js";
1
+ import { a4 as p, a5 as d } from "./index-B0CFKhL1.js";
2
2
  function g(t) {
3
3
  if (t == null) return !0;
4
4
  const e = t, n = e.id?.code;
@@ -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-COjrgKX8.js";
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-B0CFKhL1.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-COjrgKX8.js";
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-B0CFKhL1.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) {