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)