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

Fix the rectangle zoom interaction #310

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Conversation

asinghvi17
Copy link
Member

Fix #309

The issue was that the function we had copied from Makie assumed that the targetlimits were not transformed, when in GeoMakie they are transformed...

that, plus the misalignment was because the projection function was relative to the geoaxis scene, not the blockscene. That's fixed now.

I also noticed that zooming happens in source space, not target space...should fix that too!

Any ideas for tests welcome :)

@asinghvi17 asinghvi17 self-assigned this Jan 29, 2025
@asinghvi17 asinghvi17 added bug Something isn't working enhancement New feature or request labels Jan 29, 2025
@asinghvi17 asinghvi17 merged commit c9922aa into as/sphereaxis Jan 31, 2025
@asinghvi17 asinghvi17 deleted the as/fixinteractions branch January 31, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant