mobility-toolbox-js 3.0.0-beta.5 → 3.0.0-beta.6
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/mbt.js +2 -2
- package/mbt.js.map +2 -2
- package/mbt.min.js +1 -1
- package/mbt.min.js.map +2 -2
- package/ol/layers/MapGlLayer.js +1 -1
- package/ol/layers/MaplibreStyleLayer.js +1 -1
- package/package.json +1 -1
package/mbt.js
CHANGED
|
@@ -45686,7 +45686,7 @@ uniform ${i3} ${s3} u_${a3};
|
|
|
45686
45686
|
const updateMbMapDebounced = (0, import_lodash.default)(this.updateMbMap.bind(this), 150);
|
|
45687
45687
|
this.olListenersKeys.push(
|
|
45688
45688
|
this.on("propertychange", (evt) => {
|
|
45689
|
-
if (/(apiKey|apiKeyName|url|style
|
|
45689
|
+
if (/(apiKey|apiKeyName|url|style)/.test(evt.key)) {
|
|
45690
45690
|
updateMbMapDebounced();
|
|
45691
45691
|
}
|
|
45692
45692
|
})
|
|
@@ -46109,7 +46109,7 @@ uniform ${i3} ${s3} u_${a3};
|
|
|
46109
46109
|
this.applyLayoutVisibility(evt);
|
|
46110
46110
|
}),
|
|
46111
46111
|
this.on("propertychange", (evt) => {
|
|
46112
|
-
if (/(sources|layers|layersFilter|maplibreLayer|beforeId
|
|
46112
|
+
if (/(sources|layers|layersFilter|maplibreLayer|beforeId)/.test(evt.key)) {
|
|
46113
46113
|
this.detachFromMap();
|
|
46114
46114
|
this.attachToMap(map);
|
|
46115
46115
|
}
|