-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
BoxZoom should prevent hover events on layers #1813
Comments
ghost
assigned mourner
Jul 10, 2013
I see your point, will think about this. Thanks. |
mourner
added a commit
that referenced
this issue
Dec 27, 2013
Fixed cursors and appearing under markers, will handle marker mousemove later... |
IvanSanchez
changed the title
[Suggestion] Boxzoom and undesired interaction with map markers
BoxZoom should prevent hover events on layers
Oct 7, 2015
Malvoz
added a commit
to Malvoz/Leaflet
that referenced
this issue
Mar 14, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Suppose I have some markers on the map. When I initialize boxzoom and my cursor moves over the marker, marker's mousover() event fires... Besides, boxzoom rectangle seems to be under the markers (which is not so great). I think it would be better if mouse cursor wouldn't interact with other elements on the map while drawing boxzoom rectangle. Or at least rectangle should be over other markers...
P.S. (related stuff): I used to create invisible overlay on dragstart(), which got removed on dragend() and it prevented mouse cursor from interacting with markers and so on while dragging map (and it worked flawlessly), but recently it stopped working on Firefox. Is it because of new FF 22 or did you make any core adjustments to map mouse drag event? :/
I see a lot of people overlook it and let mouse cursor interact with map while dragging map (which is usually useless, quite annoying and stupid)... Especially it's annoying when using markerclusterer: suppose you begin dragging map when cursor is near the circle and suddenly mouse cursor hovers the circle, which causes convex hull of circle points to render... not so great... user wanted just to drag a map!
The text was updated successfully, but these errors were encountered: