mapbox / mapbox/mapbox-navigation-android

RouteProgress.navigationRoute returns the whole route instead of the remaining route

Open
#7,127 0 comments 0 reactions 0 assignees View on GitHub

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.