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

Coordinates incorrect at or beyond -85, -180, 85, 180 #9

Open
dankarran opened this issue Mar 5, 2014 · 1 comment
Open

Coordinates incorrect at or beyond -85, -180, 85, 180 #9

dankarran opened this issue Mar 5, 2014 · 1 comment

Comments

@dankarran
Copy link

When moving the mouse above or below the latitude bounds (85º for Mercator maps), the latitude value should probably be capped at 85º.

When moving the mouse east or west beyond 180º, the longitude value should show the correct longitude for that copy of the world rather than continuing past 180º or -180º.

@dankarran
Copy link
Author

I've added a fixLng method which seems to do the trick for longitude values: dankarran@d006373

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