MapVersionContext

sealed interface MapVersionContext : MapContext

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
abstract val buildings: Set<Building>
Link copied to clipboard
Link copied to clipboard
abstract val defaultTerrain: Terrain
Link copied to clipboard
abstract val lightsMode: LightsMode?
Link copied to clipboard
Link copied to clipboard
abstract val pathNetwork: PathNetwork?
Link copied to clipboard
abstract val version: UUID

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.

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
abstract fun isLocationInBounds(location: Location): Boolean