replan
abstract fun replan(navigationSnapshot: NavigationSnapshot): Result<List<ReplannedRoute>, RouteReplanningFailure>
Replans a given Route. If supporting points were given when planning the route, they will be used in the reconstruction as well, otherwise the road geometry points will be used. Returns more than one route in case a better route proposal was found.
Important: This is a Public Preview API. It may be changed or removed at any time.
Return
If the call succeeds, returns a list of replanned routes. If it fails, returns a RouteReplanningFailure.
Parameters
navigationSnapshot
The snapshot of the current navigation session with current location and route.