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

Shader support for extreme latitude coordinates #5081

Merged
merged 1 commit into from
Oct 29, 2020

Conversation

Pessimistress
Copy link
Collaborator

For #4981

Latitude 90/-90 projects to Infinity/-Infinity in Web Mercator projection. When passed to the project shader module they end up being clipped. This affects paths/polygons with vertices over the poles.

Change List

  • Clamp latitude to reasonable range

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.8%) to 80.822% when pulling 22e4285 on x/mercator-project-clamp into 49bd63c on master.

@Pessimistress Pessimistress merged commit 306099d into master Oct 29, 2020
@Pessimistress Pessimistress deleted the x/mercator-project-clamp branch October 29, 2020 19:41
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

Successfully merging this pull request may close these issues.

3 participants