@superrouteca/smap-leaflet 1.1.6 → 1.1.7
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 +7 -0
- package/package.json +2 -2
- package/src/compat.js +1 -1
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.7 — 2026-10-28
|
|
4
|
+
|
|
5
|
+
- Plan editor: faster edits through sMap's fast path, with no code change. When your plan editor token answer names a
|
|
6
|
+
fast path, or your map key's configuration on sMap does, every edit goes there and falls back to the Open Platform
|
|
7
|
+
by itself when the fast path asks for it, fails, or does not answer within 2 seconds (5 seconds for a refine). Quota
|
|
8
|
+
and rate-limit refusals stay final. The editor's state says which path answered (`path`).
|
|
9
|
+
|
|
3
10
|
## 1.1.6 — 2026-10-28
|
|
4
11
|
|
|
5
12
|
- Plan editor: `smapPlanEditor()` lets a person edit a plan of routes in Leaflet — drag a stop's pin onto another stop
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superrouteca/smap-leaflet",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "sMap for Leaflet: maps from Superroute's sMap service as a Leaflet layer (vector or raster), and Leaflet-style calls on an sMap map.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Goodneo Solutions",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@superrouteca/smap": "1.1.
|
|
61
|
+
"@superrouteca/smap": "1.1.7"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@types/leaflet": "1.9.22",
|
package/src/compat.js
CHANGED
|
@@ -820,7 +820,7 @@ export function createLeafletCompat(smap) {
|
|
|
820
820
|
const tileLayer = function (url, options) { return new TileLayer(url, options); };
|
|
821
821
|
tileLayer.wms = function (url, options) { return new WmsLayer(url, options); };
|
|
822
822
|
const ns = {
|
|
823
|
-
version: '1.1.
|
|
823
|
+
version: '1.1.7',
|
|
824
824
|
map: map,
|
|
825
825
|
marker: function (ll, o) { return new Marker(ll, o); },
|
|
826
826
|
circleMarker: function (ll, o) { return new CircleMarker(ll, o); },
|
package/src/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { createEmbedded, hasWebGL2 } from './common/embed.js';
|
|
|
11
11
|
const L = LeafletModule.default && LeafletModule.default.Layer ? LeafletModule.default : LeafletModule;
|
|
12
12
|
const SDK = sMapModule.default && sMapModule.default.Map ? sMapModule.default : sMapModule;
|
|
13
13
|
|
|
14
|
-
export const version = '1.1.
|
|
14
|
+
export const version = '1.1.7';
|
|
15
15
|
export { FLAVORS as styles, checkStyle, rasterPath, stylePath, SMapAccess, DEFAULT_BASE, OSM_ATTRIBUTION };
|
|
16
16
|
|
|
17
17
|
/** Options that belong to Leaflet, not to the sMap map. */
|