Itinerary
fun Itinerary( origin: GeoCoordinate, destination: GeoCoordinate, waypoints: List<GeoCoordinate> = emptyList())
Content copied to clipboard
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 GeoCoordinate of the origin.
destination
The GeoCoordinate of the destination.
waypoints
List of GeoCoordinate representing waypoints.
fun Itinerary( origin: ItineraryPoint, destination: ItineraryPoint, waypoints: List<ItineraryPoint> = emptyList())
Content copied to clipboard
Parameters
origin
The ItineraryPoint of the origin.
destination
The ItineraryPoint of the destination.
waypoints
Ordered collection of intermediate ItineraryPoints.