@superrouteca/smap-leaflet 1.2.1 → 1.2.2

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.2 — 2026-10-29
4
+
5
+ - Released with Web SDK 1.2.2 (the plan editor sends the plan's points when opening a snapshot); no change in this package.
6
+
3
7
  ## 1.2.1 — 2026-10-28
4
8
 
5
9
  - Released with Web SDK 1.2.1 (pins with numbers drawn as one image); no change in this package.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superrouteca/smap-leaflet",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
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",
@@ -58,7 +58,7 @@
58
58
  }
59
59
  },
60
60
  "dependencies": {
61
- "@superrouteca/smap": "1.2.1"
61
+ "@superrouteca/smap": "1.2.2"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@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.1',
823
+ version: '1.2.2',
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.1';
14
+ export const version = '1.2.2';
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. */