kopia lustrzana https://github.com/FacilMap/facilmap
Properly disable handlers when switching maps
rodzic
db6d3fcb76
commit
a9ff318aa5
|
@ -180,6 +180,9 @@ export default class LeafletMap extends Vue {
|
|||
}
|
||||
|
||||
beforeDestroy(): void {
|
||||
this.mapComponents.bboxHandler.disable();
|
||||
this.mapComponents.hashHandler.disable();
|
||||
this.mapComponents.selectionHandler.disable();
|
||||
this.mapComponents.map.remove();
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue