Waypoint
data class Waypoint(val id: RouteStopId, val place: Place, val navigableCoordinates: List<GeoPoint>, val routeOffset: Distance, val roadSide: RoadSide? = null, val arrivalEnergy: Energy? = null, val sourceType: RouteStop.SourceType = RouteStop.SourceType.UserDefined, val chargingInformation: ChargingInformation? = null) : RouteStop
Represents a point that the route must visit between departure and destination.
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Link copied to clipboard
fun Waypoint(id: RouteStopId, place: Place, navigableCoordinates: List<GeoPoint>, routeOffset: Distance, roadSide: RoadSide? = null, arrivalEnergy: Energy? = null, sourceType: RouteStop.SourceType = RouteStop.SourceType.UserDefined, chargingInformation: ChargingInformation? = null)
Properties
Link copied to clipboard
The id that matches a corresponding com.tomtom.sdk.routing.common.options.ItineraryPointId in the routing request if this route stop was requested by the user.
Link copied to clipboard
Coordinates which represent the navigable points of this route stop.
Link copied to clipboard
Link copied to clipboard
The driving distance from the start of the route to this route stop.