Skip to content

Android: Manuever icons driving side icons#857

Open
bjtrounson wants to merge 5 commits intostadiamaps:mainfrom
bjtrounson:feat/driving-side-android
Open

Android: Manuever icons driving side icons#857
bjtrounson wants to merge 5 commits intostadiamaps:mainfrom
bjtrounson:feat/driving-side-android

Conversation

@bjtrounson
Copy link
Copy Markdown
Collaborator

This PR adds support for driving-side-specific icons for roundabouts and rotaries. This ensures that in regions with left-hand traffic, the navigation icons correctly illustrate the clockwise flow of traffic.

The implementation introduces the necessary LHD assets and updates the icon selection logic to detect the driving side, while maintaining right-hand driving (RHD) as the default fallback.

…rrect driving icon based on the side of the road the user is driving on.
@bjtrounson
Copy link
Copy Markdown
Collaborator Author

Need to look at the car app stuff for these as there seems to be some errors in there.

InstructionsView(instructions = instructions, distanceToNextManeuver = 42.0)
}

@Preview
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should probably add some Paparazzi tests too.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Quick bump on this; we should have some Paparazzi snapshot tests to ensure against future regressions.

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