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 LanesView not hidden when it should be hidden #1

Draft
wants to merge 5 commits into
base: show-current-speed
Choose a base branch
from

Conversation

Patrick-Kladek
Copy link
Collaborator

@Patrick-Kladek Patrick-Kladek commented Sep 4, 2024

Description

Hide LaneView when Navigation is starting but make sure it shows up if the route contains lane information

Tasks

  • don't hide LanesView by adjusting alpha value
  • let update(for visualInstruction: VisualInstructionBanner?) handle show & hide

Infos for Reviewer

The underlying issue was that we animated the alpha value of the LanesView and therefore didn't show up if there was a lane instruction.

I've used a route in Berlin using Mapbox API to obtain a route which I know contains lane information. Please note that our map style doesn't contain map data in this region, thats why it's empty. The route works regardless.

Bildschirmaufnahme (Simulator)

@Patrick-Kladek Patrick-Kladek self-assigned this Sep 4, 2024
Copy link
Collaborator

@NaifAlrashed NaifAlrashed left a comment

Choose a reason for hiding this comment

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

Thank you @Patrick-Kladek!

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