BackToRouteOptions

constructor(routePlanningOptions: RoutePlanningOptions, originalRoute: Route, deviationPoint: BackToRouteOptions.PointOnRoute, currentLocation: GeoLocation)

Parameters

routePlanningOptions

The route planning options from the initial planning. Note: For RoutePlanningOptions.mode, the only supported mode currently is RouteInformationMode.Complete.

originalRoute

The original route that the user deviated from.

deviationPoint

The point where the user deviated from the original route.

currentLocation

The current location of the user.