Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another mouseover event issue #7

Open
ronancremin opened this issue Jun 15, 2016 · 1 comment
Open

Another mouseover event issue #7

ronancremin opened this issue Jun 15, 2016 · 1 comment

Comments

@ronancremin
Copy link

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

@klaftertief
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants