Journey
data class Journey(val from: DestinationProvider, val to: List<DestinationProvider>, val options: Journey.Options<*> = Options.DEFAULT)
Represents a journey from one location to one or more destinations.
A journey encapsulates routing information from a starting point to single or multiple destination points, along with configuration options for how the routes should be calculated, and visually represented on the map.
Since
0.0.86
Constructors
Link copied to clipboard
constructor(from: DestinationProvider, to: List<DestinationProvider>, options: Journey.Options<*> = Options.DEFAULT)
Types
Link copied to clipboard
data class Options<Key>(val routeOptions: Map<Key, PathNetwork.RouteOptions>, val animatingRouteSelector: (Map<Key, AnimatingRoute>) -> Map<Key, AnimatingRoute>, val selectedAnimatingRouteShaper: (Map<Key, AnimatingRoute>) -> Map<Key, AnimatingShapedRoute>)
Configuration options for journey route calculation and styling.