Markers move erratically while zooming on mobile
See original GitHub issueGiven a Leaflet map, if you initialize the map, add a circle marker, and invoke the following:
map.dragging.disable();
map.dragging.enable();
Then when you “pinch-to-zoom” on mobile via touch, the markers on the map move erratically while zoom is in progress, snapping back to the correct position after the zoom is complete. This makes for an ugly user experience.
http://i.imgur.com/O7ZlME5.gif
Replicated on Leaflet latest (1.0.0), on Android Chrome, and Chrome on a MS Surface Pro 3 running Windows 10 (using the touch screen.) Cannot replicate on desktop using a scroll wheel.
See playground here.
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Markers move when zooming with Google Maps Android API v2
When adding some markers on a map using Google Maps Android API v2, the markers are no set to the right positions and...
Read more >How can I prevent Leaflet from moving my marker while ...
Therefore, when zooming in/out, your actual icon "tip" (which is at bottom center) will "move" relatively to that position. Share.
Read more >AcqKnowledge Software Guide | BIOPAC
Marker functionality can be automated for sequential application ... When the crosshair is moved into the graph window, the coordinates of the.
Read more >Vicon Nexus Product Guide
Dolly/Zoom: Move the camera viewpoint closer to or further away from the focal point ... Vicon markers for a certain type of subject,...
Read more >Storyline 360 Version History - Articulate Support
Fixed: The format painter behaved erratically when copying ... Fixed: Learners could swipe on mobile devices to move between slides even ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@IvanSanchez
For now, we’ll keep the flag
_simulated
private in simulated events, but consider making it public when/if we get any feedback on anyone using this outside of the Leaflet codebase.