@superrouteca/smap-mapbox 1.2.12 → 1.2.16
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 +11 -0
- package/LICENSE +17 -17
- package/README.md +1 -1
- package/package.json +3 -3
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.16 — 2026-10-30
|
|
4
|
+
|
|
5
|
+
- Comes with Web SDK 1.2.16 (a layer with many numbered pins shows much sooner and zooming over many markers no longer drops frames); no change in this package.
|
|
6
|
+
|
|
7
|
+
- Licence: from this version the package is licensed under the Superroute SDK License — see `LICENSE` and [open.superroute.ca/developer/license](https://open.superroute.ca/developer/license). Versions published before keep the licence they were published with.
|
|
8
|
+
|
|
9
|
+
## 1.2.15 — 2026-10-29
|
|
10
|
+
|
|
11
|
+
- Comes with the SDKs' revised insert wait (an insert confirmed right after a stop was dropped is sent at once); no
|
|
12
|
+
change in this package.
|
|
13
|
+
|
|
3
14
|
## 1.2.12 — 2026-10-29
|
|
4
15
|
|
|
5
16
|
- Released with the SDKs 1.2.12 (Swift and Android installs now come from the release repository
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
Superroute SDK License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2026
|
|
3
|
+
Copyright (c) 2026 Superroute Inc. All rights reserved, except as granted below.
|
|
4
4
|
|
|
5
|
-
Permission is
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
5
|
+
1. Permission is granted, free of charge, to any person obtaining a copy of this software and its documentation
|
|
6
|
+
(the "Software") to install, use, copy and distribute the Software, including as part of their own products and
|
|
7
|
+
services, to connect to Superroute services, on any other platform, and in their own commercial projects.
|
|
11
8
|
|
|
12
|
-
The
|
|
13
|
-
|
|
9
|
+
2. The Software may not be sold on its own, whether alone or as the main part of a product whose value lies in the
|
|
10
|
+
Software rather than in the product built with it.
|
|
14
11
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
SOFTWARE
|
|
12
|
+
3. The copyright notices, this license and the attribution of the Software to Superroute may not be removed or
|
|
13
|
+
changed, and must be kept in every copy or substantial portion of the Software that is distributed.
|
|
14
|
+
|
|
15
|
+
4. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
|
16
|
+
THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
|
18
|
+
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
19
|
+
IN THE SOFTWARE.
|
|
20
|
+
|
|
21
|
+
5. Use of Superroute services through the Software is governed by the terms of those services.
|
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Two ways round:
|
|
|
14
14
|
- **Mapbox GL JS on sMap.** Mapbox GL JS styles and layers (from Mapbox Studio, Maputnik or an existing page) on an
|
|
15
15
|
sMap map, and an existing Mapbox GL JS map switched to sMap's basemap without rewriting its layers.
|
|
16
16
|
|
|
17
|
-
- Version 1.1.0,
|
|
17
|
+
- Version 1.1.0, Superroute SDK License (see `LICENSE` and [open.superroute.ca/developer/license](https://open.superroute.ca/developer/license))
|
|
18
18
|
- Mapbox GL JS 3 (you pass it in; it is a peer dependency and never bundled). Mapbox GL JS itself is used under
|
|
19
19
|
Mapbox's terms, which ask for a Mapbox access token (`mapboxgl.accessToken`).
|
|
20
20
|
- ES module with types
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superrouteca/smap-mapbox",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
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
|
-
"license": "
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Goodneo Solutions",
|
|
7
7
|
"homepage": "https://open.superroute.ca/developer/smap",
|
|
8
8
|
"keywords": [
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@superrouteca/smap": "1.2.
|
|
57
|
+
"@superrouteca/smap": "1.2.16"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@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.2.
|
|
16
|
+
export const version = '1.2.16';
|
|
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'];
|