Fix error when removing attribution control

v5
Candid Dauth 2024-04-21 04:51:17 +02:00
rodzic 3f7d64a305
commit 24b4c3bf96
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -32,7 +32,6 @@ export class AttributionControl extends Control {
onRemove(map: Map): void {
map.off("layeradd", this.update, this);
map.off("layerremove", this.update, this);
delete this._map;
}
update(): void {