kopia lustrzana https://github.com/FacilMap/facilmap
Fix error when removing attribution control
rodzic
3f7d64a305
commit
24b4c3bf96
|
@ -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 {
|
||||
|
|
Ładowanie…
Reference in New Issue