mobility-toolbox-js 3.0.0-beta.22 → 3.0.0-beta.23
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 +13 -1
- package/mbt.js.map +2 -2
- package/mbt.min.js +1 -1
- package/mbt.min.js.map +2 -2
- package/ol/layers/MaplibreLayer.d.ts +4 -0
- package/ol/layers/MaplibreLayer.js +13 -1
- package/package.json +1 -1
package/mbt.js
CHANGED
|
@@ -52452,7 +52452,7 @@ uniform ${i3} ${a3} u_${s3};
|
|
|
52452
52452
|
updateMaplibreMapDebounced();
|
|
52453
52453
|
this.olEventsKeys.push(
|
|
52454
52454
|
this.on("propertychange", (evt) => {
|
|
52455
|
-
if (/(url|style)/.test(evt.key)) {
|
|
52455
|
+
if (/(url|style|apiKey|apiKeyName)/.test(evt.key)) {
|
|
52456
52456
|
updateMaplibreMapDebounced();
|
|
52457
52457
|
}
|
|
52458
52458
|
})
|
|
@@ -52498,6 +52498,18 @@ uniform ${i3} ${a3} u_${s3};
|
|
|
52498
52498
|
console.error("Error while updating MaplibreMap", e);
|
|
52499
52499
|
}
|
|
52500
52500
|
}
|
|
52501
|
+
set apiKey(newValue) {
|
|
52502
|
+
this.set("apiKey", newValue);
|
|
52503
|
+
}
|
|
52504
|
+
get apiKey() {
|
|
52505
|
+
return this.get("apiKey");
|
|
52506
|
+
}
|
|
52507
|
+
set apiKeyName(newValue) {
|
|
52508
|
+
this.set("apiKeyName", newValue);
|
|
52509
|
+
}
|
|
52510
|
+
get apiKeyName() {
|
|
52511
|
+
return this.get("apiKeyName");
|
|
52512
|
+
}
|
|
52501
52513
|
get maplibreMap() {
|
|
52502
52514
|
deprecated2(
|
|
52503
52515
|
"MaplibreLayer.maplibreMap is deprecated. Use layer.mapLibreMap."
|