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)

Properties

Link copied to clipboard
val currentDistanceAlongRoute: Distance
Link copied to clipboard
val currentLocation: GeoLocation
Link copied to clipboard
val currentRoute: Route
Link copied to clipboard
val currentRoutePlanningOptions: RoutePlanningOptions
Link copied to clipboard
val numberOfVisitedWaypoints: Int