Leaflet.MousePosition
Leaflet.MousePosition copied to clipboard
Alberto acevedo patch 1
The onRemove is failing to remove the _onMouseMove event because the context is missing. In Leaflet 1.8.0 it logs the following warning: listener not found. The fix is to include the context (this) in the onRemove function.