BackToRouteOptions
constructor(currentLocation: GeoLocation, currentRoute: Route, currentDistanceAlongRoute: Distance, currentRoutePlanningOptions: RoutePlanningOptions, numberOfVisitedWaypoints: Int)
Parameters
currentLocation
The current GeoLocation.
currentRoute
The current Route.
currentDistanceAlongRoute
The distance already travelled on the current route.
currentRoutePlanningOptions
The RoutePlanningOptions used to plan the current route.
numberOfVisitedWaypoints
The number of waypoints already visited on the current route.