@superrouteca/smap-leaflet 1.2.10 → 1.2.12
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/README.md +2 -2
- package/package.json +3 -8
- package/src/compat.js +1 -1
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.12 — 2026-10-29
|
|
4
|
+
|
|
5
|
+
- Released with the SDKs 1.2.12 (Swift and Android installs now come from the release repository
|
|
6
|
+
`https://github.com/Goodneo-Solutions/smap-sdk-releases`); no change in this package. The package page links to
|
|
7
|
+
https://open.superroute.ca/developer/smap.
|
|
8
|
+
|
|
9
|
+
## 1.2.11 — 2026-10-29
|
|
10
|
+
|
|
11
|
+
- Released with the SDKs 1.2.11 (plan editors measure a dropped stop before it is inserted); no change in this
|
|
12
|
+
package.
|
|
13
|
+
|
|
3
14
|
## 1.2.10 — 2026-10-29
|
|
4
15
|
|
|
5
16
|
- Released with the native SDKs 1.2.10 (view clusters no longer stay after their points split); no change in this
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<picture>
|
|
2
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Goodneo-Solutions/smap-sdk/main/assets/smap-logo-dark.svg">
|
|
3
|
-
<img src="https://raw.githubusercontent.com/Goodneo-Solutions/smap-sdk/main/assets/smap-logo.svg" alt="sMap" height="56">
|
|
2
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Goodneo-Solutions/smap-sdk-releases/main/assets/smap-logo-dark.svg">
|
|
3
|
+
<img src="https://raw.githubusercontent.com/Goodneo-Solutions/smap-sdk-releases/main/assets/smap-logo.svg" alt="sMap" height="56">
|
|
4
4
|
</picture>
|
|
5
5
|
|
|
6
6
|
# sMap for Leaflet: `@superrouteca/smap-leaflet`
|
package/package.json
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superrouteca/smap-leaflet",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.12",
|
|
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",
|
|
7
|
-
"homepage": "https://
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/Goodneo-Solutions/smap-sdk.git",
|
|
11
|
-
"directory": "leaflet"
|
|
12
|
-
},
|
|
7
|
+
"homepage": "https://open.superroute.ca/developer/smap",
|
|
13
8
|
"keywords": [
|
|
14
9
|
"map",
|
|
15
10
|
"maps",
|
|
@@ -58,7 +53,7 @@
|
|
|
58
53
|
}
|
|
59
54
|
},
|
|
60
55
|
"dependencies": {
|
|
61
|
-
"@superrouteca/smap": "1.2.
|
|
56
|
+
"@superrouteca/smap": "1.2.12"
|
|
62
57
|
},
|
|
63
58
|
"devDependencies": {
|
|
64
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.
|
|
823
|
+
version: '1.2.12',
|
|
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.
|
|
14
|
+
export const version = '1.2.12';
|
|
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. */
|