@superrouteca/smap-mapbox 1.2.15 → 1.5.0

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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.5.0 — 2026-10-30
4
+
5
+ - Comes with Web SDK 1.5.0 (fitting, camera reads, map events, per-feature looks and states, images, circles, geometry helpers, drawing measures, export, a legacy browser build and the other 1.5.0 additions); no change in this package.
6
+
7
+ ## 1.2.16 — 2026-10-30
8
+
9
+ - 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.
10
+
11
+ - 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.
12
+
3
13
  ## 1.2.15 — 2026-10-29
4
14
 
5
15
  - Comes with the SDKs' revised insert wait (an insert confirmed right after a stop was dropped is sent at once); no
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
1
+ Superroute SDK License
2
2
 
3
- Copyright (c) 2026 Goodneo Solutions
3
+ Copyright (c) 2026 Superroute Inc. All rights reserved, except as granted below.
4
4
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
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 above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
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
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
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, MIT licence (see `LICENSE` at the repository root)
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.15",
3
+ "version": "1.5.0",
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": "MIT",
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.15"
57
+ "@superrouteca/smap": "1.5.0"
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.15';
16
+ export const version = '1.5.0';
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'];