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

Restore the ability to init NavVC without animations. #73

Merged
merged 3 commits into from
Jun 27, 2024

Conversation

michaelkirk
Copy link
Collaborator

Prior to #54, the NavigationViewController could only be used modally.

With #54, you can switch between "map mode" and "navigation mode".

An animation was introduced in navigationView.showUI for the sake of smoothly transitioning from "map mode" to "navigation mode".

However, if you are still using the NavigationViewController modally, this animation might interfere with other things you were doing - like zooming before presentation.

Prior to maplibre#54, the NavigationViewController could only be used modally.

With maplibre#54, you can switch between "map mode" and "navigation mode". To do
so, an animation was introduced for the sake of smoothly transitioning from "map mode" to "navigation mode".

However, if you are still using the NavigationViewController modally,
this animation might interfere with other things you were doing - like
setting the camera.
@michaelkirk
Copy link
Collaborator Author

/cc @Patrick-Kladek

Copy link
Contributor

@Patrick-Kladek Patrick-Kladek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good. I will approve it immediately; however, please address my comments.

CHANGELOG.md Outdated Show resolved Hide resolved
@michaelkirk michaelkirk requested a review from hactar June 26, 2024 21:33
@hactar hactar merged commit 3bd4c2f into maplibre:main Jun 27, 2024
2 checks 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.

3 participants