anymap-ts 0.13.5 → 0.14.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anymap-ts",
3
- "version": "0.13.5",
3
+ "version": "0.14.0",
4
4
  "description": "TypeScript frontend for anymap-ts interactive maps",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -56,7 +56,7 @@
56
56
  "leaflet.heat": "^0.2.0",
57
57
  "mapbox-gl": "^3.18.1",
58
58
  "maplibre-gl": ">=5.14.0",
59
- "maplibre-gl-components": "^0.16.1",
59
+ "maplibre-gl-components": "^0.16.2",
60
60
  "maplibre-gl-geo-editor": "^0.7.3",
61
61
  "maplibre-gl-geophoto": "^0.2.0",
62
62
  "maplibre-gl-layer-control": "^0.14.1",
@@ -3822,6 +3822,9 @@ export class MapLibreRenderer extends BaseMapRenderer<MapLibreMap> {
3822
3822
  if (kwargs.excludeLayers !== undefined && kwargs.excludeLayers !== null) {
3823
3823
  options.excludeLayers = kwargs.excludeLayers;
3824
3824
  }
3825
+ if (kwargs.bookmarkOptions !== undefined && kwargs.bookmarkOptions !== null) {
3826
+ options.bookmarkOptions = kwargs.bookmarkOptions;
3827
+ }
3825
3828
 
3826
3829
  this.controlGrid = addControlGrid(this.map, options as Parameters<typeof addControlGrid>[1]);
3827
3830
  this.controlsMap.set('control-grid', this.controlGrid as unknown as maplibregl.IControl);