RouteStop
public protocol RouteStop
Represents point of the route received in response from route planning API
Important
This is a Public Preview API. It may be changed or removed at any time.-
An unique identifier, used for matching
RouteStopwithItineraryPoint.Declaration
Swift
var id: UUID { get } -
A
Placethat representsRouteStop.Declaration
Swift
var place: Place { get } -
Coordinate which represents
RouteStopreceived from route planning API.Declaration
Swift
var navigableCoordinates: [CLLocationCoordinate2D] { get } -
The driving distance from the start of the route to the
RouteStop.Declaration
Swift
var routeOffset: Measurement<UnitLength> { get } -
The side of the road where
RouteStopis located.Declaration
Swift
var roadSide: RoadSide? { get } -
The level of energy expected at arrival. Should be present only for electric vehicles.
Declaration
Swift
var arrivalEnergy: Measurement<UnitEnergy>? { get } -
Information on how much to charge at a charging station. It will only be present if this route point is a charging stop in an EV route.
Declaration
Swift
var chargingInformation: ChargingInformation? { get } -
Specifies the reason why a
RouteStopwas added to the route.Declaration
Swift
var sourceType: SourceType { get }
RouteStop Protocol Reference