worldCopyJump only implemented for dragging
See original GitHub issueIt appears that the option worldCopyJump has only been implemented in L.Map.Drag. It seems to me that keyboard panning and mouse zooming (since zooming to the left/right edges can change the most centered world) should have implementations as well.
Update: Just noticed that pan inertia has not been implemented either, and in fact, inertia does not work very well at all with worldCopyJump set to true. It appears that it tries to keep you in the current centered world (like it’s wrapping the end position) instead of freely flowing into the next / previous world. Should I open a separate issue for that as well?
Issue Analytics
- State:
- Created 10 years ago
- Reactions:3
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Dragging drawings across the date line does not move ...
I tried worldCopyJump and other possible solutions from here: ... I guess the only solution is to locally implement something like ...
Read more >how to change worldCopyJump value dynamically in leaflet?
If you look at Leaflet's source code, you can see that the worldCopyJump map option is evaluated only once, when the map drag...
Read more >Leaflet - a JavaScript library for interactive maps - GitHub Pages
Draggable. A class for making DOM elements draggable (including touch support). Used internally for map and marker dragging. Only works for elements that...
Read more >How to avoid popup open after drag
Solution is to implement your logic of popup opening/closing. ... don't attach popup to the marker, just assign popup text to it through ......
Read more >leaflet | Yarn - Package Manager
... Ensure worldCopyJump() behavior is consistent when using a keyboard (#8562 ... event during drag (by @yohanboniface) #3632; Implemented L.ImageOverlay.
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 Free
Top 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

@Falke-Design Ah, I just saw https://github.com/Leaflet/Leaflet/pull/8562. Thanks.
Can somebody confirm if this issue is fixed? It is open for more than 5 years?