You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
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: