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

Another mouseover event issue

Open ronancremin opened this issue 8 years ago • 1 comments

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

ronancremin avatar Jun 15 '16 20:06 ronancremin

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.

klaftertief avatar Jun 20 '16 17:06 klaftertief