@superrouteca/smap-leaflet 1.2.15 → 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 CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 1.2.15 — 2026-10-29
4
10
 
5
11
  - 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
@@ -15,7 +15,7 @@ Two ways round:
15
15
  `L.tileLayer`, `bindPopup`, `L.layerGroup`, `addTo`, events) on an sMap map, so code written for Leaflet runs on
16
16
  sMap.
17
17
 
18
- - Version 1.1.0, MIT licence (see `LICENSE` at the repository root)
18
+ - Version 1.1.0, Superroute SDK License (see `LICENSE` and [open.superroute.ca/developer/license](https://open.superroute.ca/developer/license))
19
19
  - Leaflet 1.9 (a peer dependency; not needed for the Leaflet-style calls on an sMap map)
20
20
  - ES module with types
21
21
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@superrouteca/smap-leaflet",
3
- "version": "1.2.15",
3
+ "version": "1.2.16",
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
- "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": [
@@ -53,7 +53,7 @@
53
53
  }
54
54
  },
55
55
  "dependencies": {
56
- "@superrouteca/smap": "1.2.15"
56
+ "@superrouteca/smap": "1.2.16"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@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.2.15',
823
+ version: '1.2.16',
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.2.15';
14
+ export const version = '1.2.16';
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. */