itinerariesInfoToMultipleDestinations
abstract suspend fun itinerariesInfoToMultipleDestinations(origin: Coordinate, destinations: List<Coordinate>, travelMode: TravelMode = TravelMode.Walk(), searchRules: ItinerarySearchRules = ItinerarySearchRules()): Collection<CoordinateWithItineraryInfo>
Computes the itinerary information from an origin to multiple destinations.
Return
A collection of CoordinateWithItineraryInfo. When a destination's itinerary cannot be computed, its itinerary information is null.
Parameters
origin
The starting Coordinate.
destinations
The destination Coordinate objects.
travelMode
The travel mode to use. Defaults to TravelMode.Walk.
searchRules
The search rules to apply. Defaults to an empty set of rules.