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.
  • id

    The id that matches a corresponding ItineraryPoint in the routing request if this route stop was requested by the user.

    Declaration

    Swift

    var id: UUID { get }
  • Place associated with this route stop.

    Declaration

    Swift

    var place: Place { get }
  • Coordinates which represent the navigable points of this route stop.

    Declaration

    Swift

    var navigableCoordinates: [CLLocationCoordinate2D] { get }
  • The driving distance from the start of the route to this route stop.

    Declaration

    Swift

    var routeOffset: Measurement<UnitLength> { get }
  • The side of the road at which the route point is located.

    Declaration

    Swift

    var roadSide: RoadSide? { get }
  • The level of energy expected at arrival. Optional, present only for electric vehicles, if electric consumption is specified in the routing request.

    Declaration

    Swift

    var arrivalEnergy: Measurement<UnitEnergy>? { get }
  • Information on how much to charge at a charging station. Optional, 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 the route point was added to the route.

    Declaration

    Swift

    var sourceType: SourceType { get }