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