You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val currentIndex = routeProgress?.currentLegProgress?.legIndex
navigation?.setNavigationRoutes(
listOf(currentRoute), currentIndex?.plus(1) ?: 0
)
This has been confirmed via a debug point that none of the values are null and setNavigationRoutes is called with the first parameter being a list that only contains the current route and the second parameter being 1 with currentIndex being 0.
Expected behavior
The navigation should advance to the next leg.
Actual behavior
It stays at the same leg - no changes to the current instruction for the driver.
The text was updated successfully, but these errors were encountered:
Android API: 21
Mapbox Navigation SDK version: 2.19.1
Steps to trigger behavior
This has been confirmed via a debug point that none of the values are null and setNavigationRoutes is called with the first parameter being a list that only contains the current route and the second parameter being 1 with currentIndex being 0.
Expected behavior
The navigation should advance to the next leg.
Actual behavior
It stays at the same leg - no changes to the current instruction for the driver.
The text was updated successfully, but these errors were encountered: