backToRoute

Plans a new route that leads to the destination. It is used when the user deviates from the current route or the language is changed. The newly planned route does not necessarily have to follow the same geometry as the active one if the user has deviated. However, if the active route was initially planned with supporting points, the route planning will consider the undriven part of the active route. This also applies when re-planning due to a language change.

Important: This is a Public Preview API. It may be changed or removed at any time.

Return

If the call succeeds, returns a RouteReplannerResponse. If it fails, returns a RouteReplanningFailure.

Parameters

navigationSnapshot

The snapshot of the current navigation session.