mapbox / mapbox/mapbox-navigation-android

Navigation arrow and route are not in the same direction

Open
#3,816 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Core
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.
WX20201125-165801@2x

### 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.