Itinerary

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

Itinerary represents a sequence of points that a route visits.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

origin

The ItineraryPoint of the origin.

destination

The ItineraryPoint of the destination.

waypoints

Ordered collection of intermediate ItineraryPoints.

Constructors

Link copied to clipboard
fun Itinerary(    origin: GeoCoordinate,     destination: GeoCoordinate,     waypoints: List<GeoCoordinate> = emptyList())

Itinerary represents a sequence of points that a route visits.

Link copied to clipboard
fun Itinerary(    origin: ItineraryPoint,     destination: ItineraryPoint,     waypoints: List<ItineraryPoint> = emptyList())

Properties

Link copied to clipboard
val destination: ItineraryPoint
Link copied to clipboard
val origin: ItineraryPoint
Link copied to clipboard
val waypoints: List<ItineraryPoint>