Map
Types
Functions
Link copied to clipboard
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.
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.