RouteReplanner
Entry point to plan routes that can be dynamically updated, for example through continuous replanning as the route is driven.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Link copied to clipboard
abstract fun backToRoute(navigationSnapshot: NavigationSnapshot): Result<RouteReplannerResponse, RouteReplanningFailure>
Plans a way back to the route using the provided NavigationSnapshot object.
Link copied to clipboard
abstract fun incrementRouteContents(navigationSnapshot: NavigationSnapshot): Result<RouteReplannerResponse, RouteReplanningFailure>
Calculates route contents (instructions, lane guidance) for the first sequence of instructions following the last successful increment.
Link copied to clipboard
abstract fun update(navigationSnapshot: NavigationSnapshot): Result<RouteReplannerResponse, RouteReplanningFailure>
Updates a route using the provided NavigationSnapshot object.