ItineraryProvider
interface ItineraryProvider
Computes itineraries and itinerary information between coordinates and Points of Interest.
Functions
Link copied to clipboard
abstract suspend fun itineraries(origin: Coordinate, destination: Coordinate, travelMode: TravelMode = TravelMode.Walk(), searchRules: ItinerarySearchRules = ItinerarySearchRules()): List<Itinerary>
Computes the itineraries between an origin and a destination.
Link copied to clipboard
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.
Link copied to clipboard
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.