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
Create a navigation session with a waypoint that requires a short detour (something like turning right, driving for 100 meters, then turning around because you reached the waypoint, head back to the intersection and turn right again. Then, before doing the right turn towards the waypoint, use navigationViewController.mapboxNavigation.navigation().switchLeg(newLegIndex: routeProgress.legIndex+1) to make the navigator skip the waypoint. Look at how the route is now displayed.
Expected behavior
When skipping a waypoint, I would expect the navigator to handle it like any other situation: If the driver is on the correct road, just continue the instructions. If he is not, trigger a reroute because he went off route.
Actual behavior
The navigator does skip the waypoint, but the step description stays outdated and the route is completely broken. Either the route is not being displayed at all, or it is displayed in a very broken manner, as can be seen in the two screenshots.
The two examples happened on the same spot, but are two different occasions and are the view the driver was seeing after the waypoint had been skipped using switchLeg. Note that on the one where the route completely disappeared, I kept the instruction to go right even though I should have gone left from there if I had skipped the waypoint correctly. Also, the navigation location puck was not moving anymore, even when I drove pretty far after the incident.
Is this a one-time issue or a repeatable issue?
repeatable
The text was updated successfully, but these errors were encountered:
Mapbox Navigation SDK version
3.6.0-beta.1
Steps to reproduce
Create a navigation session with a waypoint that requires a short detour (something like turning right, driving for 100 meters, then turning around because you reached the waypoint, head back to the intersection and turn right again. Then, before doing the right turn towards the waypoint, use
navigationViewController.mapboxNavigation.navigation().switchLeg(newLegIndex: routeProgress.legIndex+1)
to make the navigator skip the waypoint. Look at how the route is now displayed.Expected behavior
When skipping a waypoint, I would expect the navigator to handle it like any other situation: If the driver is on the correct road, just continue the instructions. If he is not, trigger a reroute because he went off route.
Actual behavior
The navigator does skip the waypoint, but the step description stays outdated and the route is completely broken. Either the route is not being displayed at all, or it is displayed in a very broken manner, as can be seen in the two screenshots.
The two examples happened on the same spot, but are two different occasions and are the view the driver was seeing after the waypoint had been skipped using switchLeg. Note that on the one where the route completely disappeared, I kept the instruction to go right even though I should have gone left from there if I had skipped the waypoint correctly. Also, the navigation location puck was not moving anymore, even when I drove pretty far after the incident.
Is this a one-time issue or a repeatable issue?
repeatable
The text was updated successfully, but these errors were encountered: