MapDownloadUtil

class MapDownloadUtil(_mMapViewModel: MapViewModel)

Constructors

Link copied to clipboard
constructor(_mMapViewModel: MapViewModel)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun setMapViewModel(mapViewModel: MapViewModel)
Link copied to clipboard
fun showDroppedPinOnTheMap(mercatorZone: MercatorZone, consumer: Consumer<Boolean>)

Displays a dropped pin on the map at the specified Mercator zone. This involves selecting the correct property and building, and then posting the dropped pin location to the map view model for rendering.

Link copied to clipboard
fun showMap(propertyId: Int, buildingId: Int, floorId: Int, entityId: Int, consumer: Consumer<Boolean>)
Link copied to clipboard
fun showRoutingOnMap(context: Context?, destinations: List<DeeplinkData.Destination>)

Parses the list of destinations from a deep link and displays the route on the map.

Link copied to clipboard
fun showTagOnMap(propertyId: Int, buildingId: Int, floorId: Int, x: Double, y: Double, tagName: String?, consumer: Consumer<Boolean>)