chore: automated housekeeping...

This commit is contained in:
Pieter Vander Vennet 2025-06-18 21:40:01 +02:00
parent 94c61744c0
commit 04c8ccb0d2
89 changed files with 2353 additions and 1390 deletions

View file

@ -757,10 +757,11 @@ export class MapLibreAdaptor implements MapProperties, ExportableMap {
if (!showScale) {
if (this.scaleControl) {
try {
map.removeControl(this.scaleControl)
} catch (e) {
console.warn("Could not remove scale control, underlying map might have had a reset")
console.warn(
"Could not remove scale control, underlying map might have had a reset"
)
}
this.scaleControl = undefined
}