@superrouteca/smap-react 1.6.0 → 1.6.2

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.6.2 — 2026-11-05
4
+
5
+ - Comes with Web SDK 1.6.2: dragging a tilted map drawn by sRender keeps the place under the pointer.
6
+
7
+ ## 1.6.1 — 2026-11-04
8
+
9
+ - Comes with Web SDK 1.6.1: dragging a map drawn by sRender keeps the place under the pointer; a double click zooms around the pointer.
10
+
3
11
  ## 1.6.0 — 2026-11-04
4
12
 
5
13
  - Comes with Web SDK 1.6.0: `mapOptions={{ renderer: 'srender' }}` draws the map with sRender where the page has loaded sRender's script.
package/README.md CHANGED
@@ -365,3 +365,11 @@ npm test --workspace react
365
365
  ```
366
366
 
367
367
  The example reads a map key from `VITE_SMAP_KEY` (or a token from `VITE_SMAP_TOKEN`).
368
+
369
+ ## Map engines: sMR1 and sRender
370
+
371
+ From 1.6.0 the map can be drawn by sMR1, the engine the SDK has always used (the default), or by **sRender**,
372
+ Superroute's own map engine: load sRender's script in the page
373
+ (`<script src="https://open.superroute.ca/js/srender/srender.js"></script>`) and pass
374
+ `mapOptions={{ renderer: 'srender' }}`. Wherever sRender cannot start, the map is drawn by sMR1. See the Web SDK's
375
+ README for the details.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superrouteca/smap-react",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "description": "sMap for React: components for maps from Superroute's sMap service, with standard style layers, basemap overrides, data formats and external layers.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Goodneo Solutions",
@@ -50,7 +50,7 @@
50
50
  "prepack": "cp ../LICENSE LICENSE && npm run build"
51
51
  },
52
52
  "peerDependencies": {
53
- "@superrouteca/smap": "1.6.0",
53
+ "@superrouteca/smap": "1.6.2",
54
54
  "react": ">=18",
55
55
  "react-dom": ">=18"
56
56
  },