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

Drawing lines across 180º longitude wraps them the wrong way #109

Closed
eagereyes opened this issue Jan 15, 2012 · 1 comment
Closed

Drawing lines across 180º longitude wraps them the wrong way #109

eagereyes opened this issue Jan 15, 2012 · 1 comment

Comments

@eagereyes
Copy link

Another issue coming out of the ZIPScribble map project, this time with Russia. That country inconveniently sticks out across 180º longitude. When drawing a line from just below 180º to just above 180º, polymaps draws a very long line from one end of the map to the other. Using negative values or values above 180 doesn't make any difference. I think there should be a convention so that values over 180º are drawn to the east, rather than wrapping around and appearing in the far west.

@mbostock
Copy link
Contributor

Duplicate of #33. I think it's supposed to work with values above +180º and below -180º.

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

2 participants