@nika-js/onlymap 0.6.14 → 0.6.16
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 +13 -0
- package/README.md +1 -1
- package/dist/{LercDecode.es-Bqk5xyNu.js → LercDecode.es-Dk9wels3.js} +1 -1
- package/dist/{basemap-KDsE62YN.js → basemap-BA1ZJlLK.js} +1 -1
- package/dist/clip-box-controller.d.ts +1 -1
- package/dist/{geoparquet-DOexUItM.js → geoparquet-8OqhWIi0.js} +1 -1
- package/dist/{index-D_EyImRx.js → index-BVwjHomd.js} +1 -1
- package/dist/{index-mxTk4d2L.js → index-Bfr8mB8a.js} +2 -2
- package/dist/{index-DnsWPk6e.js → index-CHMnADf_.js} +1 -1
- package/dist/{index-ESUJidEA.js → index-CfSUY_BJ.js} +7656 -7634
- package/dist/{index-BFNjPrc2.js → index-DbfeUg8P.js} +1 -1
- package/dist/{lerc-CPb8TKuv.js → lerc-YYE0CLud.js} +2 -2
- package/dist/onlymap.standalone.js +13910 -13888
- package/dist/onlymapjs.js +1 -1
- package/dist/{raster-M2R7FhL7.js → raster-BRQWdAhD.js} +2 -2
- package/dist/{raster-pipeline-Csa7n5SZ.js → raster-pipeline-zQdEkSvr.js} +1 -1
- package/dist/runtime-core.d.ts +3 -0
- package/dist/telemetry-schema.d.ts +10 -2
- package/dist/telemetry.d.ts +4 -0
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-tHnzENgX.js → zarr-BV0RmDUH.js} +2 -2
- package/docs/telemetry.md +2 -0
- package/package.json +1 -1
- package/skills/onlymapjs/SKILL.md +1 -1
- package/skills/onlymapjs/references/syntax.md +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,19 @@ 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.6.16 — 2026-08-24
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- **Packaged mobile apps now identify themselves in usage telemetry.** `configureTelemetry({ platform, appId })` lets a native host (like `@nika-js/onlymap-native`) report the store app identity and platform instead of a meaningless embedded-WebView hostname. Web pages are unaffected; the same privacy rules apply.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- **A license key that cannot verify now says so on the page.** In a context without `crypto.subtle` (an insecure or misconfigured embed), key verification used to log only a console warning while the map silently ran in the free tier; it now also raises a structured validation error with a fix hint through the normal error channel.
|
|
18
|
+
|
|
19
|
+
## 0.6.15 — 2026-08-21
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
- **Smoother interactive dragging on complex maps.** Dragging the measure or clip-box gizmos (and any other live animation) now rebuilds the scene once per frame instead of up to ~10 times — the same visual result with a fraction of the work, which shows up as steadier frame rates and lower battery drain on layer-heavy maps, especially in mobile WebViews.
|
|
23
|
+
|
|
11
24
|
## 0.6.14 — 2026-08-21
|
|
12
25
|
|
|
13
26
|
### Fixed
|
package/README.md
CHANGED
|
@@ -337,7 +337,7 @@ The `appId` must come from trusted native build metadata, never page/bridge inpu
|
|
|
337
337
|
|
|
338
338
|
## Telemetry
|
|
339
339
|
|
|
340
|
-
The library reports one **deployment-scoped** usage snapshot per map per page load — layer types and counts, widget types, renderer; hostname only, no page URLs, no visitor identifiers, and `headless` (test) maps never report — plus errors caused by the library's own code (own-bundle stack filtering, scrubbed, rate-limited). Reports go to a first-party endpoint, never a third-party domain. Opt out globally with `OmMap.configureTelemetry({ disabled: true })` or per map with `telemetry="off"`. Full schema, rules, and the license disclosure: [docs/telemetry.md](docs/telemetry.md), LICENSE.md §11.
|
|
340
|
+
The library reports one **deployment-scoped** usage snapshot per map per page load — layer types and counts, widget types, renderer; hostname only (a packaged mobile app reports its declared app id instead, since an embedded WebView's hostname identifies nothing), no page URLs, no visitor identifiers, and `headless` (test) maps never report — plus errors caused by the library's own code (own-bundle stack filtering, scrubbed, rate-limited). Reports go to a first-party endpoint, never a third-party domain. Opt out globally with `OmMap.configureTelemetry({ disabled: true })` or per map with `telemetry="off"`. Full schema, rules, and the license disclosure: [docs/telemetry.md](docs/telemetry.md), LICENSE.md §11.
|
|
341
341
|
|
|
342
342
|
## Not implemented yet (honestly)
|
|
343
343
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ny, L as sy, M as oy, m as ay, c as ka, z as oc, a as Sd, G as sm, V as ly, W as cy, b as uy, g as hy, d as Vu, f as Ed, e as dy, l as py, u as fy, D as Qf, h as my } from "./index-
|
|
1
|
+
import { C as ny, L as sy, M as oy, m as ay, c as ka, z as oc, a as Sd, G as sm, V as ly, W as cy, b as uy, g as hy, d as Vu, f as Ed, e as dy, l as py, u as fy, D as Qf, h as my } from "./index-CfSUY_BJ.js";
|
|
2
2
|
const Cd = Math.PI / 180, gy = 180 / Math.PI;
|
|
3
3
|
function em(Pe, Q = 0) {
|
|
4
4
|
const me = Math.min(180, Pe) * Cd;
|
|
@@ -44,7 +44,7 @@ export declare class ClipBoxController {
|
|
|
44
44
|
* `syncVisuals()` so `handleGizmoDrag` can drive this every mousemove
|
|
45
45
|
* frame from its own LOCAL `grab.liveBox` without going anywhere near
|
|
46
46
|
* `core.setClipBox`/DOM attributes (see that method's own doc comment).
|
|
47
|
-
* `patchAnimatedProps`
|
|
47
|
+
* `patchAnimatedProps` is cheap and frame-rate-safe (patches within one JS turn coalesce into a single scene rebuild); this is the
|
|
48
48
|
* same reason `measure-controller.ts`'s volume gizmo redraws through
|
|
49
49
|
* `patchAnimatedProps` on every drag frame instead of writing anything
|
|
50
50
|
* to the DOM until the gesture actually ends.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as E, j as S, k as R, o as N, p as h, q as w, s as O, t as W, v as x, w as I, x as B, y as _, A as P, B as k, E as $, F as z, H as v, I as F, J as C, K as U, N as p, O as M } from "./index-
|
|
2
|
-
import { P as $e, R as ze, _ as ve, Q as Ce, S as Ue, T as Me, U as je, X as De, Y as Je, Z as qe, $ as He, a0 as Ve, a1 as Ge, a2 as Ke, a3 as Qe, a4 as Xe, a5 as Ye, a6 as Ze, a7 as et, a8 as tt, a9 as nt, aa as rt, ab as at, ac as st, ad as ot } from "./index-
|
|
1
|
+
import { i as E, j as S, k as R, o as N, p as h, q as w, s as O, t as W, v as x, w as I, x as B, y as _, A as P, B as k, E as $, F as z, H as v, I as F, J as C, K as U, N as p, O as M } from "./index-CfSUY_BJ.js";
|
|
2
|
+
import { P as $e, R as ze, _ as ve, Q as Ce, S as Ue, T as Me, U as je, X as De, Y as Je, Z as qe, $ as He, a0 as Ve, a1 as Ge, a2 as Ke, a3 as Qe, a4 as Xe, a5 as Ye, a6 as Ze, a7 as et, a8 as tt, a9 as nt, aa as rt, ab as at, ac as st, ad as ot } from "./index-CfSUY_BJ.js";
|
|
3
3
|
import { g as j, i as D } from "./table-accessors-CYWTzpQI.js";
|
|
4
4
|
async function J(t, e, n = {}, r = {}) {
|
|
5
5
|
const a = E(t), s = S.getWorkerFarm(n), { source: o } = n, c = { name: a, source: o };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ak as Bt, ax as Xt, ay as Yt, az as Us } from "./index-
|
|
1
|
+
import { ak as Bt, ax as Xt, ay as Yt, az as Us } from "./index-CfSUY_BJ.js";
|
|
2
2
|
import { w as gs, t as Hs, f as Ws, m as Qs } from "./mgrs-BY9bIvp4.js";
|
|
3
3
|
import { c as Xs } from "./convert-arrow-schema-DrAihRf9.js";
|
|
4
4
|
import { y as Ys, A as bt, a as Ks, z as Vs, R as Zs } from "./recordbatch-Bpc0uxFn.js";
|