mapbox / mapbox/mapbox-navigation-android
Navigation arrow and route are not in the same direction
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
**Android API:any
**Mapbox Navigation SDK version: 1.2.0-rc.2
### Steps to trigger behavior
1.Plan a route at a certain location
2.Drive the car to the starting point off the path (not on the path)
3.Bring the No.1 route to the navigation page,and call NavigationView.startNavigation use No.1 route
4.NavigationView reroute success,sometimes the navigation arrow and route are not in the same
direction(Occasionally),Please see the attached picture.

### Expected behavior
the navigation arrow and route are in the same
### Actual behavior
the navigation arrow and route are not in the same
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the off-route scenario described in the issue with NavigationView.startNavigation and the reroute flow. Inspect how the navigation arrow and rerouted route are updated, then verify that they consistently point in the same direction after rerouting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100