@superrouteca/smap-react 1.5.1 → 1.5.5
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/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.5.5 — 2026-10-30
|
|
4
|
+
|
|
5
|
+
- Comes with Web SDK 1.5.5:
|
|
6
|
+
- `selectArea({ mode: 'polygon' })`: an area selected by clicking its corners one by one (the map still pans and zooms between clicks); a click on the first corner, a double click or Enter closes it, Backspace takes the last corner back, Escape cancels.
|
|
7
|
+
|
|
8
|
+
## 1.5.2 — 2026-10-30
|
|
9
|
+
|
|
10
|
+
- Comes with Web SDK 1.5.2:
|
|
11
|
+
- Pins answer where they are drawn: a click beside a pin (on its shadow or the corners of its picture) no longer opens its neighbour, for popups and a layer's `onClick`.
|
|
12
|
+
- Pins piled up under the pointer, of any layers, are listed to choose from (popups and `onClick`); the map never zooms in for them any more unless a layer asks with `marker.overlap.zoomBy`.
|
|
13
|
+
- The pin under the pointer comes in front of every layer (hoverRaise), not only of its own layer, and only one pin is raised at a time.
|
|
14
|
+
- Popups take no focus (`focusAfterOpen: true` focuses the first control without scrolling the page), no longer pan the map (`autoPan: true` to pan), and open on the side of their point where they fit, beside the pin; `openPopup(…, { marker: layerId })` places a popup beside that layer's pins.
|
|
15
|
+
|
|
3
16
|
## 1.5.1 — 2026-10-30
|
|
4
17
|
|
|
5
18
|
- No change from 1.5.0; released with the iOS, macOS and Android packages, which first carry the 1.5.0 additions in this version.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superrouteca/smap-react",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5",
|
|
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.5.
|
|
53
|
+
"@superrouteca/smap": "1.5.5",
|
|
54
54
|
"react": ">=18",
|
|
55
55
|
"react-dom": ">=18"
|
|
56
56
|
},
|