Skip to content

Conversation

thomasttvo
Copy link
Collaborator

This modifies zoomTo method to allow zoomCenter to be undefined. Without the zoomCenter, the pan animation that focuses on the supplied zoom center will not be applied, so it will retain the current pan and only changes the zoom level.

@thomasttvo thomasttvo changed the title Allows zooming in without interfering with pan coordinates Allows changing zoom level without interfering with pan coordinates Jan 10, 2025
@thomasttvo thomasttvo changed the title Allows changing zoom level without interfering with pan coordinates Allows changing zoom level without interfering with pan offsets Jan 10, 2025
@thomasttvo thomasttvo changed the title Allows changing zoom level without interfering with pan offsets Allow changing zoom level without interfering with pan offsets Jan 10, 2025
@thomasttvo thomasttvo merged commit b175c42 into master Jan 10, 2025
1 check passed
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.

2 participants