createRoute
open fun createRoute(from: DestinationProvider, to: List<DestinationProvider>, routeOptions: PathNetwork.RouteOptions = PathNetwork.RouteOptions()): LiveData<RouteResult>
Creates a route on this version of the map from from to the closest reachable of to, which updates as its locations change.
Since
0.0.130
open fun <K> createRoute(from: DestinationProvider, to: List<DestinationProvider>, routeOptions: Map<K, PathNetwork.RouteOptions>): LiveData<Map<K, RouteResult>>
Creates a route on this version of the map for each of routeOptions, from from to the closest reachable of to.
The routes update together as their locations change, so every value holds routes calculated from the same locations.
Since
0.0.130