Leaflet.MousePosition icon indicating copy to clipboard operation
Leaflet.MousePosition copied to clipboard

Alberto acevedo patch 1

Open alberto-acevedo opened this issue 2 years ago • 0 comments

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.

alberto-acevedo avatar Oct 13 '22 14:10 alberto-acevedo