Leaflet.hotline
Leaflet.hotline copied to clipboard
Another mouseover event issue
Hi,
Lovely plugin, thanks.
I'm trying to use a hotlineLayer to draw a more detailed depiction of my data when the user hovers over an existing Polyline. I can make this work OK, and remove the hotlineLayer on the mouseout event using map.removeLater().
But I have found that adding a hotlineLayer to my map stops any existing mouseover/mouseout events firing on Polylines, even when the hotlineLayer has been removed. Is this a known issue?
I'm using leaflet1.0.0-beta2.js and have set L_PREFER_CANVAS to true.
Thanks, Ronan
Thanks for the report. I'll be updating the plugin to work with the latest Leaflet version in the next couple of days. Leaflet changed the event system a bit. I'll keep you posted.