mapbox / mapbox/mapbox-navigation-android
RouteProgress.navigationRoute returns the whole route instead of the remaining route
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
In RouteProgressObserver the RouteProgress.navigationRoute is returning the whole route but I want the remaining route for sending to API. But the traveled route is disappearing correctly.
How can I get the remaining route object when traveling?
Thanks
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 at RouteProgressObserver and the RouteProgress.navigationRoute entry point mentioned in the report. Compare the route exposed during travel with the expected remaining route, then identify the documented behavior or test that should confirm the returned route is correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100