@nika-js/onlymap 0.8.3 → 0.8.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.
- package/CHANGELOG.md +5 -0
- package/LICENSE.md +2 -0
- package/README.md +8 -0
- package/dist/{LercDecode.es-DW-G7u1_.js → LercDecode.es-BKustV-1.js} +1 -1
- package/dist/{basemap-C6mTd_uL.js → basemap-B0SwrOqQ.js} +1 -1
- package/dist/cartograph/elements/om-cartograph.d.ts +6 -0
- package/dist/cartograph.js +429 -416
- package/dist/cartograph.standalone.js +1235 -1222
- package/dist/elements/om-map.d.ts +11 -0
- package/dist/{geoparquet-CMESy27r.js → geoparquet-C5E6N6G0.js} +1 -1
- package/dist/{index-BfL5W1Ay.js → index-BLIjrGOE.js} +1 -1
- package/dist/{index-CrMM0kHK.js → index-BnQDfKfE.js} +1 -1
- package/dist/{index-CgpoaR-U.js → index-CaM1C93G.js} +1 -1
- package/dist/{index-DgHzTg2n.js → index-D5Fqn_eZ.js} +8312 -8289
- package/dist/{index-FEPpi86V.js → index-xUVMTGZG.js} +2 -2
- package/dist/index.d.ts +5 -3
- package/dist/{lerc-BQFrOj7h.js → lerc-TxsFLMlC.js} +2 -2
- package/dist/license.d.ts +46 -1
- package/dist/onlymap.standalone.js +13994 -13971
- package/dist/onlymapjs.js +78 -76
- package/dist/{raster-6vW4_NSI.js → raster-B_wekCHv.js} +3 -3
- package/dist/{raster-pipeline-CYiGgsil.js → raster-pipeline-Dn2fkLYx.js} +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-BNQZpB1t.js → zarr-Dan2ab-l.js} +2 -2
- package/docs/cartograph.md +8 -0
- package/llms.txt +1 -1
- package/onlymapjs.html-data.json +8 -0
- package/package.json +1 -1
- package/skills/onlymapjs/SKILL.md +1 -1
- package/skills/onlymapjs/references/syntax.md +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,11 @@ 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.8.4 — 2026-09-21
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- **Keep the OnlyMap badge on a paid plan, if you want to.** Removing the attribution badge is something a commercial license *permits*, not something it requires — so `keep-badge` on `<om-map>` (or `OmMap.setKeepBadge(true)`) lifts the free-tier limits while still crediting OnlyMap. The badge then shows the credit without the "free for non-commercial use" sentence, which wouldn't describe a paid deployment. It has no effect on the free plan, where the badge is the license condition rather than a preference. The setting is page-level and can be changed after load; a cartograph's foot credit follows it, and `<om-cartograph keep-badge>` opts a print sheet in on its own.
|
|
15
|
+
|
|
11
16
|
## 0.8.3 — 2026-09-18
|
|
12
17
|
|
|
13
18
|
### Fixed
|
package/LICENSE.md
CHANGED
|
@@ -35,6 +35,8 @@ The Software is commercial proprietary software.
|
|
|
35
35
|
|
|
36
36
|
**Commercial use.** Any use other than Non-Commercial Use requires a purchased and maintained valid commercial license from Licensor, unless Licensor has granted Licensee a separate written license.
|
|
37
37
|
|
|
38
|
+
**Attribution removal is a permission, not an obligation.** A valid commercial license permits Licensee to remove the Software's on-map attribution; it does not require removal. Licensee may keep the attribution displayed (`keep-badge`, or `OmMap.setKeepBadge(true)`), in which case the Software renders the credit without the Non-Commercial notice, since that notice would not describe Licensee's use.
|
|
39
|
+
|
|
38
40
|
**Technical limits are a convenience, not the grant.** The Software may enforce technical limits in some execution contexts and not others (for example, limits may be inactive during local development, when loaded from local files, or inside application shells). The presence, absence, or failure of any technical limit does not grant, extend, or modify any license right. In particular, distributing the Software inside a packaged or installable application (desktop, mobile, or otherwise), or any other Commercial use, requires a valid commercial license under this Section 3 regardless of whether technical limits were active.
|
|
39
41
|
|
|
40
42
|
Access to an npm package, repository, package tarball, source archive, or build artifact does not by itself grant any rights beyond the rights expressly granted in this Agreement.
|
package/README.md
CHANGED
|
@@ -333,6 +333,14 @@ A license key lifts all limits and removes the badge:
|
|
|
333
333
|
OmMap.configureLicense("om_live_…"); // or once, in code
|
|
334
334
|
```
|
|
335
335
|
|
|
336
|
+
Removing the badge is a **permission, not a requirement** — if you'd rather keep crediting OnlyMap on a paid plan, `keep-badge` opts back in, and the badge then renders the credit *without* the "free for non-commercial use" sentence, which wouldn't describe your deployment:
|
|
337
|
+
|
|
338
|
+
```html
|
|
339
|
+
<om-map license-key="om_live_…" keep-badge> <!-- or OmMap.setKeepBadge(true) -->
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
It has no effect on the free plan, where the badge is the license condition rather than a preference. The setting is page-level — a print sheet's foot credit follows it too, and `<om-cartograph keep-badge>` opts one in on its own (a static sheet has no map runtime to carry the key).
|
|
343
|
+
|
|
336
344
|
Packaged native hosts can verify an app-scoped key by passing platform-derived identity:
|
|
337
345
|
|
|
338
346
|
```ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ny, L as sy, M as oy, m as ay, c as ka, a as Sd, z as oc, 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, a as Sd, z as oc, 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-D5Fqn_eZ.js";
|
|
2
2
|
const Cd = Math.PI / 180, gy = 180 / Math.PI;
|
|
3
3
|
function em(Pe, K = 0) {
|
|
4
4
|
const pe = Math.min(180, Pe) * Cd;
|
|
@@ -26,6 +26,12 @@ export declare class OmCartographElement extends CartographElementBase {
|
|
|
26
26
|
* runtime's job (issue #41 §9: the om-map carries the key).
|
|
27
27
|
*/
|
|
28
28
|
private renderCredit;
|
|
29
|
+
/**
|
|
30
|
+
* Which credit this sheet carries, from the core's own predicate so the
|
|
31
|
+
* license decision is never re-implemented here — only the print wording
|
|
32
|
+
* is local.
|
|
33
|
+
*/
|
|
34
|
+
private creditMode;
|
|
29
35
|
/** Give the runtime-owned DOM credit the same canvas paint contract as authored furniture. */
|
|
30
36
|
private armCreditPainter;
|
|
31
37
|
/**
|