Itinerary

public struct Itinerary

Represents a requested sequence of points that a route should visit.

  • The ItineraryPoint of destination

    Declaration

    Swift

    public var destination: ItineraryPoint
  • Initializes the Itinerary

    Declaration

    Swift

    public init(origin: ItineraryPoint, destination: ItineraryPoint, waypoints: [ItineraryPoint] = [])

    Parameters

    origin

    ItineraryPoint representing the point of origin

    destination

    ItineraryPoint representing the destination point

    waypoints

    Array of ItineraryPoints representing the points that should be visited along the Route

  • The ItineraryPoint of origin

    Declaration

    Swift

    public var origin: ItineraryPoint
  • Waypoints of the route, which are represented by an array of ItineraryPoints

    Declaration

    Swift

    public var waypoints: [ItineraryPoint]