@superrouteca/smap-mapbox 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/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: `addPlanEditor(map, options)` edits a plan of routes on a Mapbox GL JS map — drag a stop within its
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superrouteca/smap-mapbox",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "sMap for Mapbox GL JS: maps from Superroute's sMap service in Mapbox GL JS, and Mapbox GL JS styles and layers on an sMap map.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Goodneo Solutions",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@superrouteca/smap": "1.1.
|
|
62
|
+
"@superrouteca/smap": "1.1.7"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@types/geojson": "7946.0.16",
|
package/src/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { addPlanEditor } from './plan.js';
|
|
|
13
13
|
|
|
14
14
|
const SDK = sMapModule.default && sMapModule.default.Map ? sMapModule.default : sMapModule;
|
|
15
15
|
|
|
16
|
-
export const version = '1.1.
|
|
16
|
+
export const version = '1.1.7';
|
|
17
17
|
export { FLAVORS as styles, checkStyle, rasterPath, stylePath, SMapAccess, DEFAULT_BASE, OSM_ATTRIBUTION, addPlanEditor };
|
|
18
18
|
|
|
19
19
|
const ACCESS_OPTIONS = ['baseUrl', 'token', 'getToken', 'apiKey', 'nodes', 'nearest', 'fetch', 'timeoutMs', 'client', 'access'];
|