Destination

public struct Destination : RoutePoint

Represents destination 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.

Public

  • id

    An unique identifier, used for matching Destination with ItineraryPoint

    Declaration

    Swift

    public var id: UUID
  • A Place which represents Destination

    Declaration

    Swift

    public var place: Place
  • Coordinate which represents Destination received from route planning API

    Declaration

    Swift

    public var navigableCoordinates: [CLLocationCoordinate2D]
  • The side of the road at which Waypoint is located.

    Declaration

    Swift

    public let roadSide: RoadSide?
  • The distance from the start of the route to the Destination

    Declaration

    Swift

    public let routeOffset: Double