ItineraryManager

class ItineraryManager : NavigationRenderer

Manages itineraries displayed on the map.

Properties

Link copied to clipboard

The itineraries currently drawn on the map.

Functions

Link copied to clipboard
fun addItinerary(itinerary: Itinerary, options: ItineraryOptions = ItineraryOptions()): Itinerary?

Adds an itinerary to be drawn on the map.

Link copied to clipboard
suspend fun computeItineraries(origin: Coordinate, destination: Coordinate, travelMode: TravelMode = TravelMode.Walk(), searchRules: ItinerarySearchRules = ItinerarySearchRules()): List<Itinerary>
Link copied to clipboard
fun deinit()

Tears down this manager. Its dependencies are session-owned, so there is nothing to release here.

Link copied to clipboard

Removes an itinerary previously added to the map.

Link copied to clipboard
suspend fun searchRuleNames(): List<String>