Itinerary

data class Itinerary(val origin: ItineraryPoint, val destination: ItineraryPoint, val waypoints: List<ItineraryPoint> = emptyList())

Itinerary represents a sequence of points that a route visits.

Parameters

origin

The ItineraryPoint of the origin.

destination

The ItineraryPoint of the destination.

waypoints

Ordered collection of intermediate ItineraryPoints.

Constructors

Link copied to clipboard
constructor(origin: <Error class: unknown class>, destination: <Error class: unknown class>, waypoints: List<<Error class: unknown class>> = emptyList(), heading: <Error class: unknown class>? = null)

Itinerary represents a sequence of points that a route visits.

constructor(origin: ItineraryPoint, destination: ItineraryPoint, waypoints: List<ItineraryPoint> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard