RouteUpdateOptions

data class RouteUpdateOptions(    val currentLocation: GeoLocation,     val currentRoute: Route,     val currentRoutePlanningOptions: RoutePlanningOptions,     val distanceAlongRoute: Distance,     val remainingTime: Duration,     val numberOfVisitedWaypoints: Int)

Options for updating a 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.

currentRoutePlanningOptions

The RoutePlanningOptions used to plan the current route.

distanceAlongRoute

Distance along route.

remainingTime

Estimated Duration left to reach the destination.

numberOfVisitedWaypoints

The number of waypoints already visited on the current route.

Constructors

Link copied to clipboard
fun RouteUpdateOptions(    currentLocation: GeoLocation,     currentRoute: Route,     currentRoutePlanningOptions: RoutePlanningOptions,     distanceAlongRoute: Distance,     remainingTime: Duration,     numberOfVisitedWaypoints: Int)

Properties

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 distanceAlongRoute: Distance
Link copied to clipboard
val numberOfVisitedWaypoints: Int
Link copied to clipboard
val remainingTime: Duration