Itinerary
public struct Itinerary
Represents a requested sequence of points that a route should visit.
-
Initializes the
ItineraryDeclaration
Swift
public init(origin: ItineraryPoint, destination: ItineraryPoint, waypoints: [ItineraryPoint] = [])Parameters
originItineraryPointrepresenting the point of origindestinationItineraryPointrepresenting the destination pointwaypointsArray of
ItineraryPoints representing the points that should be visited along theRoute
-
The
ItineraryPointof originDeclaration
Swift
public var origin: ItineraryPoint -
The
ItineraryPointof destinationDeclaration
Swift
public var destination: ItineraryPoint -
Waypoints of the route, which are represented by an array of
ItineraryPointsDeclaration
Swift
public var waypoints: [ItineraryPoint]
TomTom SDK for iOS (0.53.1)
Itinerary