@nika-js/onlymap 0.13.3 → 0.13.4

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 (61) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +8 -4
  3. package/dist/{basemap-5NHR6Gio.js → basemap-BiC_RwbV.js} +3 -7
  4. package/dist/basemap.d.ts +1 -5
  5. package/dist/bbox-tokens.d.ts +70 -0
  6. package/dist/{build-DJjheWZ2.js → build-DQCmcQE1.js} +1 -1
  7. package/dist/{client-0mQmDog8.js → client-C0CgEs_P.js} +2 -2
  8. package/dist/clip-box-controller.d.ts +0 -17
  9. package/dist/ctx.d.ts +15 -0
  10. package/dist/data-layer.d.ts +15 -8
  11. package/dist/dom-tile-layer.d.ts +30 -0
  12. package/dist/draw-controller.d.ts +1 -1
  13. package/dist/elements/om-map.d.ts +12 -1
  14. package/dist/feature-service.d.ts +42 -0
  15. package/dist/geodesy.d.ts +6 -5
  16. package/dist/{geoparquet-B_nO2OyP.js → geoparquet-DbVJrJYG.js} +1 -1
  17. package/dist/{globe-view-BFUa9ksE.js → globe-view-CrGbvqqZ.js} +1 -1
  18. package/dist/grid-tiles.d.ts +117 -0
  19. package/dist/{hillshade-B_CxPhtA.js → hillshade-CGY_OBaG.js} +2 -2
  20. package/dist/{hillshade-shader-r7GxxjXj.js → hillshade-shader-w8tmFgaV.js} +1 -1
  21. package/dist/{index-CU7RnKnO.js → index-2lD29y87.js} +25 -25
  22. package/dist/index-BahtHUrg.js +8458 -0
  23. package/dist/{index-DT5d7kFO.js → index-Bdltig68.js} +1 -1
  24. package/dist/{index-BvNxS6dM.js → index-ChoEWeXU.js} +1 -1
  25. package/dist/{index-A1FYw2dy.js → index-Cm2sfhw7.js} +1 -1
  26. package/dist/{index-DWijIMti.js → index-DrCMvhhr.js} +32340 -31035
  27. package/dist/{index-CObPGkze.js → index-Dtsf-TPD.js} +22 -22
  28. package/dist/{index-ChmxbIdj.js → index-GfvWJDX0.js} +36 -36
  29. package/dist/{index-YMu_yLXO.js → index-QrGqSW_H.js} +3 -3
  30. package/dist/{index-CgIuV5Oh.js → index-xF9sKoMB.js} +3 -3
  31. package/dist/index.d.ts +1 -1
  32. package/dist/layer-registry.d.ts +1 -0
  33. package/dist/layers/warped-bitmap-layer.d.ts +14 -1
  34. package/dist/{lerc-Bl4vym9y.js → lerc-DxujwTm7.js} +1 -1
  35. package/dist/onlymap.standalone.js +68435 -58161
  36. package/dist/onlymapjs.js +21 -21
  37. package/dist/parse-manifest.d.ts +4 -1
  38. package/dist/plane-gpu/plane-basemap.d.ts +158 -158
  39. package/dist/plane-vector/plane-mvt-layer.d.ts +158 -158
  40. package/dist/plane-warp.d.ts +14 -1
  41. package/dist/pmtiles.d.ts +76 -0
  42. package/dist/{post-process-effect-gFGVlC77.js → post-process-effect-BL9rBDEh.js} +1 -1
  43. package/dist/programmatic.d.ts +17 -1
  44. package/dist/{raster-1ShXyF12.js → raster-Bq768NZr.js} +4 -4
  45. package/dist/{raster-pipeline-BMS54TX2.js → raster-pipeline-C898iYqw.js} +11 -11
  46. package/dist/runtime-core.d.ts +106 -4
  47. package/dist/{terrain-inspect-Cndlmxig.js → terrain-inspect-DNZO8z6S.js} +1 -1
  48. package/dist/{text-on-path-QInco4aP.js → text-on-path-owfh8Ac6.js} +1 -1
  49. package/dist/tile-url.d.ts +84 -16
  50. package/dist/time-dimension.d.ts +25 -0
  51. package/dist/vector-style-BlnKzVND.js +518 -0
  52. package/dist/vector-style.d.ts +59 -0
  53. package/dist/version.d.ts +1 -1
  54. package/dist/{zarr-CYD8fyBe.js → zarr-CMWiR63-.js} +2 -2
  55. package/docs/cartograph.md +2 -2
  56. package/llms.txt +3 -3
  57. package/onlymapjs.attributes.json +15 -0
  58. package/onlymapjs.html-data.json +40 -0
  59. package/package.json +5 -2
  60. package/skills/onlymapjs/SKILL.md +9 -3
  61. package/skills/onlymapjs/references/syntax.md +36 -6
@@ -1,6 +1,6 @@
1
- import { c as w, ab as F, ac as M, ad as B, ae as H, af as $, ag as b, ah as E, ai as _, aj as S, ak as D, aa as O } from "./index-DWijIMti.js";
1
+ import { c as w, ab as F, ac as M, ad as B, ae as H, af as $, ag as b, ah as E, ai as _, aj as S, ak as D, aa as O } from "./index-DrCMvhhr.js";
2
2
  import { N as P, c as C } from "./hillshade-apron-Bem3DWyJ.js";
3
- import { p as N, h as R, m as Z, a as U } from "./hillshade-shader-r7GxxjXj.js";
3
+ import { p as N, h as R, m as Z, a as U } from "./hillshade-shader-w8tmFgaV.js";
4
4
  const A = 64, f = /* @__PURE__ */ new Map();
5
5
  function L(t) {
6
6
  const e = f.get(t);
@@ -1,4 +1,4 @@
1
- import { al as d } from "./index-DWijIMti.js";
1
+ import { al as d } from "./index-DrCMvhhr.js";
2
2
  const u = 110574, m = 111320, o = Math.PI / 180, f = { none: 0, mercator: 1, geographic: 2 };
3
3
  function E(e, a, s = "HillshadeLayer") {
4
4
  const h = (l) => l == null || l === "" ? [] : typeof l == "number" ? Number.isFinite(l) ? [l] : [] : String(l).split(/[\s,]+/).filter(Boolean).map(Number).filter((r) => Number.isFinite(r));
@@ -1,14 +1,14 @@
1
- import { b1 as E, b2 as x, b3 as R, b4 as N, b5 as h, b6 as b, b7 as W, b8 as O, b9 as I, ba as S, bb as B, bc as _, bd as z, be as k, bf as P, bg as $, bh as C, bi as F, bj as v, bk as D, bl as w, bm as M } from "./index-DWijIMti.js";
2
- import { bn as Pe, bo as $e, bp as Ce, bq as ve, br as De, bs as Me, bt as Ue, bu as je, bv as Je, bw as qe, bx as Ge, by as He, bz as Ve, bA as Ke, bB as Qe, bC as Xe, bD as Ye, bE as Ze, bF as et, bG as tt, bH as nt, bI as rt, bJ as at, bK as st, bL as ot } from "./index-DWijIMti.js";
1
+ import { b5 as E, b6 as x, b7 as N, b8 as R, b9 as h, ba as b, bb as O, bc as W, bd as I, be as S, bf as B, bg as P, bh as _, bi as k, bj as z, bk as $, bl as C, bm as F, bn as v, bo as M, bp as w, bq as D } from "./index-DrCMvhhr.js";
2
+ import { br as ze, bs as $e, bt as Ce, bu as ve, bv as Me, bw as De, bx as Ue, by as je, bz as Je, bA as qe, bB as Ge, bC as He, bD as Ve, bE as Ke, bF as Qe, bG as Xe, bH as Ye, bI as Ze, bJ as et, bK as tt, bL as nt, bM as rt, bN as at, bO as st, bP as ot } from "./index-DrCMvhhr.js";
3
3
  import { g as U, i as j } from "./table-accessors-CYWTzpQI.js";
4
4
  async function J(t, e, n = {}, r = {}) {
5
5
  const a = E(t), s = x.getWorkerFarm(n), { source: o } = n, c = { name: a, source: o };
6
- o || (c.url = R(t, n));
6
+ o || (c.url = N(t, n));
7
7
  const i = s.getWorkerPool(c), u = n.jobName || t.name, d = await i.startJob(
8
8
  u,
9
9
  // eslint-disable-next-line
10
10
  q.bind(null, r)
11
- ), y = N(n);
11
+ ), y = R(n);
12
12
  return d.postMessage("process", { input: e, options: y }), (await d.result).result;
13
13
  }
14
14
  async function q(t, e, n, r) {
@@ -158,7 +158,7 @@ async function Q(t) {
158
158
  }
159
159
  function xe(t, e, n, r) {
160
160
  !Array.isArray(e) && !b(e) && (r = void 0, n = e, e = void 0), n = n || {};
161
- const s = W(e, r), o = O(t, s, n);
161
+ const s = O(e, r), o = W(t, s, n);
162
162
  if (!o)
163
163
  return null;
164
164
  const c = I(n, o, s), i = S(t), u = () => {
@@ -167,7 +167,7 @@ function xe(t, e, n, r) {
167
167
  return r = B({ url: i, _parseSync: u, _parse: u, loaders: e }, c, r || null), X(o, t, c, r);
168
168
  }
169
169
  function X(t, e, n, r) {
170
- if (e = _(e, t), t.parseTextSync && typeof e == "string")
170
+ if (e = P(e, t), t.parseTextSync && typeof e == "string")
171
171
  return t.parseTextSync(e, n);
172
172
  if (t.parseSync && e instanceof ArrayBuffer)
173
173
  return t.parseSync(e, n, r);
@@ -179,7 +179,7 @@ function Y(t) {
179
179
  async function l(t, e, n, r) {
180
180
  const a = Array.isArray(e) ? e : void 0;
181
181
  !Array.isArray(e) && !b(e) && (r = void 0, n = e, e = void 0), t = await t, n = n || {};
182
- const s = S(t), o = await z(t, e, n);
182
+ const s = S(t), o = await _(t, e, n);
183
183
  if (!o)
184
184
  return [];
185
185
  const c = I(n, o, a, s);
@@ -206,7 +206,7 @@ async function Z(t, e, n, r) {
206
206
  return o(a);
207
207
  }
208
208
  async function ee(t, e, n, r) {
209
- const a = await P(e, n), s = await re(a, n?.core?.transforms || []);
209
+ const a = await z(e, n), s = await re(a, n?.core?.transforms || []);
210
210
  return t.parseInBatches ? t.parseInBatches(s, n, r) : te(s, t, n, r);
211
211
  }
212
212
  async function* te(t, e, n, r) {
@@ -282,7 +282,7 @@ function oe(t) {
282
282
  return [{ ...t, start: 0, end: t.length }];
283
283
  }
284
284
  async function Be(t, e, n) {
285
- const a = { ...D(), ...n };
285
+ const a = { ...M(), ...n };
286
286
  return e.encodeURLtoURL ? ue(e, t, a) : G(e, a) ? await J(e, t, a) : await e.encode(t, a);
287
287
  }
288
288
  function ce(t, e, n) {
@@ -330,7 +330,7 @@ async function ue(t, e, n) {
330
330
  const r = T("input");
331
331
  await new K(r, "w").write(e);
332
332
  const s = T("output"), o = await ie(r, s, t, n);
333
- return (await M(o)).arrayBuffer();
333
+ return (await D(o)).arrayBuffer();
334
334
  }
335
335
  function fe(t) {
336
336
  return [{ ...t, start: 0, end: t.length }];
@@ -388,7 +388,7 @@ function Ee(t, e) {
388
388
  }
389
389
  );
390
390
  }
391
- const L = "4.4.3", Re = {
391
+ const L = "4.4.3", Ne = {
392
392
  dataType: null,
393
393
  batchType: null,
394
394
  name: "Null loader",
@@ -402,7 +402,7 @@ const L = "4.4.3", Re = {
402
402
  options: {
403
403
  null: {}
404
404
  }
405
- }, Ne = {
405
+ }, Re = {
406
406
  dataType: null,
407
407
  batchType: null,
408
408
  name: "Null loader",
@@ -425,7 +425,7 @@ const L = "4.4.3", Re = {
425
425
  function m(t, e, n) {
426
426
  return null;
427
427
  }
428
- async function We(t, e, n = () => {
428
+ async function Oe(t, e, n = () => {
429
429
  }, r = () => {
430
430
  }) {
431
431
  if (t = await t, !t.ok)
@@ -458,7 +458,7 @@ async function A(t, e, n, r, a, s, o) {
458
458
  t.error(c), o(c);
459
459
  }
460
460
  }
461
- class Oe {
461
+ class We {
462
462
  _fetch;
463
463
  files = {};
464
464
  lowerCaseFiles = {};
@@ -534,19 +534,19 @@ class Oe {
534
534
  }
535
535
  }
536
536
  export {
537
- Pe as FetchError,
537
+ ze as FetchError,
538
538
  ge as JSONLoader,
539
- Ne as NullLoader,
540
- Re as NullWorkerLoader,
539
+ Re as NullLoader,
540
+ Ne as NullWorkerLoader,
541
541
  $e as RequestScheduler,
542
- Oe as _BrowserFileSystem,
543
- We as _fetchProgress,
542
+ We as _BrowserFileSystem,
543
+ Oe as _fetchProgress,
544
544
  Ae as _selectSource,
545
545
  Ce as _unregisterLoaders,
546
546
  ve as assert,
547
547
  $ as concatenateArrayBuffersAsync,
548
- De as createDataSource,
549
- Me as document,
548
+ Me as createDataSource,
549
+ De as document,
550
550
  Be as encode,
551
551
  Le as encodeInBatches,
552
552
  ce as encodeSync,
@@ -556,9 +556,9 @@ export {
556
556
  ke as encodeText,
557
557
  Fe as encodeTextSync,
558
558
  ie as encodeURLtoURL,
559
- M as fetchFile,
559
+ D as fetchFile,
560
560
  Ue as forEach,
561
- D as getLoaderOptions,
561
+ M as getLoaderOptions,
562
562
  je as getPathPrefix,
563
563
  Je as global,
564
564
  qe as isAsyncIterable,
@@ -585,8 +585,8 @@ export {
585
585
  Te as readArrayBuffer,
586
586
  nt as registerLoaders,
587
587
  w as resolvePath,
588
- z as selectLoader,
589
- O as selectLoaderSync,
588
+ _ as selectLoader,
589
+ W as selectLoaderSync,
590
590
  rt as self,
591
591
  at as setLoaderOptions,
592
592
  st as setPathPrefix,