Skip to content

Handle user projection properly #7

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

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Handle user projection properly #7

merged 1 commit into from
Dec 12, 2024

Conversation

ahocevar
Copy link
Contributor

Previously, user projections were not handled - for zooming the view to the extent, useGeographic() was assumed, for the result geometry extent, it was not. Now getUserProjection() and view.getProjection() are used to handle that correctly.

@ahocevar ahocevar merged commit dde63c2 into main Dec 12, 2024
1 check passed
@ahocevar ahocevar deleted the userprojection branch December 12, 2024 13:48
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.

1 participant