BackToRouteOptions
data class BackToRouteOptions(val currentLocation: GeoLocation, val currentRoute: Route, val currentDistanceAlongRoute: Distance, val currentRoutePlanningOptions: RoutePlanningOptions, val numberOfVisitedWaypoints: Int)
Options for planning back to route.
Important: This is a Public Preview API. It may be changed or removed at any time.
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.
Constructors
Link copied to clipboard
fun BackToRouteOptions(currentLocation: GeoLocation, currentRoute: Route, currentDistanceAlongRoute: Distance, currentRoutePlanningOptions: RoutePlanningOptions, numberOfVisitedWaypoints: Int)