@nika-js/onlymap 0.11.10 → 0.11.11
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/README.md +1 -1
- package/dist/{basemap-Cc8v5hPA.js → basemap-QT4ua-dL.js} +333 -320
- package/dist/basemap-request.d.ts +24 -0
- package/dist/{geoparquet-B9p5-Yxf.js → geoparquet-hOsdfZJa.js} +1 -1
- package/dist/{globe-view-BF6-01N_.js → globe-view-BSGTUqWc.js} +1 -1
- package/dist/{hillshade-Dd7MQHfp.js → hillshade-D2Ps3Nim.js} +1 -1
- package/dist/{index-BaR4MzNc.js → index-BO7MtTkn.js} +3 -3
- package/dist/{index-CwoqJ6IK.js → index-Bxue4Psc.js} +3 -3
- package/dist/{index-T5LATpR7.js → index-Bzypgr1v.js} +1 -1
- package/dist/{index-Bwdaim-c.js → index-CevWTqBO.js} +18 -18
- package/dist/{index-CawlYDgE.js → index-D1ZjhP2H.js} +1 -1
- package/dist/{index-C_0KCx9L.js → index-DBt_2x-w.js} +1 -1
- package/dist/{index-C9gVsJaG.js → index-DjYxw-8H.js} +2 -2
- package/dist/{index-CCY7Rk1s.js → index-DudIuhJa.js} +1 -1
- package/dist/{index-Dk12Fazj.js → index-Dwc4s3mc.js} +1 -1
- package/dist/{lerc-CElHRqrE.js → lerc-DQuf93SN.js} +1 -1
- package/dist/onlymap.standalone.js +241 -228
- package/dist/onlymapjs.js +1 -1
- package/dist/{post-process-effect-VAE0lQ4c.js → post-process-effect-B3j_nBzy.js} +1 -1
- package/dist/{raster-Cn8jugd2.js → raster-CvAJ-h_g.js} +3 -3
- package/dist/{raster-pipeline-D26Sl0X2.js → raster-pipeline-CusoihQ3.js} +1 -1
- package/dist/{text-on-path-C6SLSkus.js → text-on-path-D9u5SYCo.js} +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-Do5FzYXm.js → zarr-DWb_nikR.js} +2 -2
- package/docs/basemaps.md +1 -1
- package/docs/cartograph.md +2 -2
- 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,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.11.11 — 2026-10-08
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- **The `osm` basemap now draws in a map opened from disk.** OpenStreetMap's tile server refuses requests it cannot tie to a website, and answers with an "Access blocked" picture tile that arrives as a normal 200 — so an exported map opened from a file showed a grid of them in Firefox, and in Chrome after a hard reload or with DevTools' cache disabled, while Safari was fine. Tile requests to OSM now carry the `X-Requested-With` header OSM's own guidance asks for in that situation, which its servers accept. Other tile servers are untouched.
|
|
15
|
+
|
|
11
16
|
## 0.11.10 — 2026-10-07
|
|
12
17
|
|
|
13
18
|
### Added
|
package/README.md
CHANGED
|
@@ -157,7 +157,7 @@ Hovering a pickable feature shows a pointer cursor automatically, so recipients
|
|
|
157
157
|
|
|
158
158
|
**Undo/redo:** user-facing manifest changes — layer toggles, filter changes, basemap switches, element edits, drawn sketches — are undoable out of the box; the manifest *is* the state, so history is recorded from the DOM itself. Add `<om-widget type="undo-redo">` for buttons, or just press Cmd/Ctrl-Z (Shift-Cmd/Ctrl-Z or Ctrl-Y to redo). Camera moves, hover effects, and story playback are deliberately not undo steps.
|
|
159
159
|
|
|
160
|
-
**Basemaps:** free presets out of the box — OpenFreeMap `liberty`/`bright`/`positron` (no key, no limits), CARTO `dark-matter`/`voyager`, classic `osm` raster, keyless `satellite` imagery (EOX's 2016 Sentinel-2 cloudless mosaic — worldwide, commercial-safe with its credit, sharp to about zoom 13–14), and keyed `maptiler-*` presets (MapTiler's style editor is the visual way to customize basemap JSON; keys are publishable, via `basemap-key` or `OmMap.configureBasemap`). The `basemap` attribute switches **live** — camera and layers survive — from a hand edit, the `set-basemap` action, or `<om-widget type="basemap-switcher">`. Add your own with `OmMap.registerBasemap(name, { style })`; required attribution renders automatically. Guide: [docs/basemaps.md](docs/basemaps.md).
|
|
160
|
+
**Basemaps:** free presets out of the box — OpenFreeMap `liberty`/`bright`/`positron` (no key, no limits), CARTO `dark-matter`/`voyager`, classic `osm` raster (works from a file opened on disk too — tile requests identify themselves the way OSM asks), keyless `satellite` imagery (EOX's 2016 Sentinel-2 cloudless mosaic — worldwide, commercial-safe with its credit, sharp to about zoom 13–14), and keyed `maptiler-*` presets (MapTiler's style editor is the visual way to customize basemap JSON; keys are publishable, via `basemap-key` or `OmMap.configureBasemap`). The `basemap` attribute switches **live** — camera and layers survive — from a hand edit, the `set-basemap` action, or `<om-widget type="basemap-switcher">`. Add your own with `OmMap.registerBasemap(name, { style })`; required attribution renders automatically. Guide: [docs/basemaps.md](docs/basemaps.md).
|
|
161
161
|
|
|
162
162
|
**Animation:** camera moves accept a duration — `map.flyTo(coords, zoom, { duration: 1200, curve: true })`, or the `fly-to` action (`center`/`zoom`/`pitch`/`bearing`/`duration`) from any behavior or button; `prefers-reduced-motion` is honored (moves become instant, final state identical). Per-prop GPU transitions via the `transition` attribute: `transition="get-fill-color 800ms"` fades color changes; on a streaming layer, `transition="get-position 300ms"` makes entities glide between updates.
|
|
163
163
|
|