You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
How do we safely remove the plugin in the map after we use it?
I tried removing it through: map.removeLayer(collisionLayer);, the labels are remove, but the rendering is messedup such that it affects other markers previously loaded on the map.
When I tried zooming, i encounter the following error after removing collisionLayer
Leaflet.LayerGroup.Collision.js:164 Uncaught TypeError: Cannot read property 'getZoom' of null
at e._onZoomEnd (Leaflet.LayerGroup.Collision.js:164)
at e.fire (Events.js:186)
at e._moveEnd (Map.js:1184)
at e.<anonymous> (Map.js:1628)
The text was updated successfully, but these errors were encountered:
How do we safely remove the plugin in the map after we use it?
I tried removing it through: map.removeLayer(collisionLayer);, the labels are remove, but the rendering is messedup such that it affects other markers previously loaded on the map.
When I tried zooming, i encounter the following error after removing collisionLayer
The text was updated successfully, but these errors were encountered: