mapbox-navigation-ios
mapbox-navigation-ios copied to clipboard
Issue : When i add second stop while navigating it starting from the starting location again. How to start from current route progress ?
Mapbox Navigation SDK version
installed via cocoa pods - ios 11 target
Steps to reproduce
- Map load
- Route generate
- start navigation
- add secondary stop
Expected behavior
it should resume from current route progress instead of starting location
Actual behavior
it should resume from starting location
Is this a one-time issue or a repeatable issue?
repeatable
HI @jignya! Thank you for your report. Could you provide some additional information such as the version of the Nav SDK you are using?
I solved this by using [userLocation + remaining waypoints] to the Directions.shared.calculate. Then I remove the userLocation-waypoint that I get from the RouteResponse completion
@Knapiii I am Interested to know how you added Waypoints while navigating... How did you do that?
@jignya, would you be able to provide a simple example of your current implementation. It is not fully clear how you add second destination after partly traversing initial route.