leaflet-transitionedicon
leaflet-transitionedicon copied to clipboard
Prevent null error on remove
The Leaflet Map.removeLayer() method sets the Marker.map and Marker.mapToAdd to null before the cssOut callback is called, causing an error when the Icon is removed.