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

worldCopyJump only implemented for dragging #2125

Open
Driklyn opened this Issue Oct 24, 2013 · 5 comments

Comments

Projects
None yet
7 participants
@Driklyn
Copy link

Driklyn commented Oct 24, 2013

It 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.

http://jsfiddle.net/u9KmM

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?

@ghost ghost assigned mourner Nov 4, 2013

@mourner

This comment has been minimized.

Copy link
Member

mourner commented Nov 4, 2013

You're right, this option needs quite a bit of improvements. Planned.

@moravcik

This comment has been minimized.

Copy link

moravcik commented Nov 3, 2014

any update on this issue? thank you

@yohanboniface yohanboniface modified the milestones: 1.0-beta3, 1.0 Oct 12, 2015

@mourner mourner modified the milestones: future, 1.0-rc1 Feb 12, 2016

@markgeraty

This comment has been minimized.

Copy link

markgeraty commented Jun 17, 2016

👍

Just wondering if there are any updates or plans for looking into this?

@pmast

This comment has been minimized.

Copy link

pmast commented Dec 9, 2016

Just wanted to report the same issue. Had already prepared a playgorund for this:

https://playground-leaflet.rhcloud.com/fux/edit?html,output

@joshuakaling

This comment has been minimized.

Copy link

joshuakaling commented Feb 8, 2019

Can somebody confirm if this issue is fixed? It is open for more than 5 years?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment