update

Updates a route using the provided NavigationSnapshot object. It is used for the continuous replanning of the route during navigation. The RouteReplannerResponse contains the current route with refreshed data and the alternative route, if any. The refreshed route is the first one in the RouteReplannerResponse.routes list.

It attempts to replan routes using online routing services first and falls back to offline services in the event that online routing fails. This ensures continuity in navigation even with intermittent internet connectivity.

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.