Skip to content
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

Overlapping not adjusted #22

Open
MysticJay opened this issue Apr 18, 2021 · 0 comments
Open

Overlapping not adjusted #22

MysticJay opened this issue Apr 18, 2021 · 0 comments

Comments

@MysticJay
Copy link

The Pan-Buttons move the map too far in one orientation and too short in the other orientation.
An item just off the screen does not show up after the pan.
The behavior is reproducible on the test; https://kartena.github.io/Leaflet.Pancontrol/
To reproduce: just move "Stockholm" off the upper edge, then pan.
Expected: "Stockholm" should show up inside the frame close to the other edge.

IMHO: an overlapping parameter should be added to allow a value between 0 and 50% of the view's width/hight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant