itinerariesInfoToMultiplePois

abstract suspend fun itinerariesInfoToMultiplePois(origin: Coordinate, pois: List<PointOfInterest>, travelMode: TravelMode = TravelMode.Walk(), searchRules: ItinerarySearchRules = ItinerarySearchRules()): Collection<PointOfInterestWithItineraryInfo>

Computes the itinerary information from an origin to multiple Points of Interest.

Return

A collection of PointOfInterestWithItineraryInfo. When a POI's itinerary cannot be computed, its itinerary information is null.

Parameters

origin

The starting Coordinate.

pois

The destination PointOfInterest objects.

travelMode

The travel mode to use. Defaults to TravelMode.Walk.

searchRules

The search rules to apply. Defaults to an empty set of rules.