MapViewContext
Properties
Functions
Link copied to clipboard
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.
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.
Link copied to clipboard