Fix player layer duplicating in some situations

This commit is contained in:
James Lyne 2021-07-29 00:34:18 +01:00
parent 8151dfaab5
commit ee8607ed6d

View File

@ -77,7 +77,7 @@ export default defineComponent({
},
unmounted() {
this.leaflet.removeLayer(this.layerGroup);
this.leaflet.getLayerManager().removeLayer(this.layerGroup);
},
render() {