MapCamera

interface MapCamera

Inheritors

Functions

Link copied to clipboard
abstract fun centerCurrentLocation()
Recenter map on current location
Link copied to clipboard
abstract fun centerMapOnBuilding(buildingId: Int): Boolean
Center the map on the given property
Link copied to clipboard
abstract fun centerMapOnEntity(@NonNull entity: Entity): Boolean
Center the map on the given entity
Link copied to clipboard
abstract fun centerMapOnProperty(propertyId: Int): Boolean
Center the map on the given property
Link copied to clipboard
Center the map on the selcted location.
Link copied to clipboard
abstract fun centerMapToDefaultBuilding(propertyId: Int, isMultiBuilding: Boolean)
Adjusts the map focus based on the given property ID.
Link copied to clipboard
abstract fun getMapFocusZone(): MercatorZone
Returns current map focus point with Property/Building/Floor information, if available
Link copied to clipboard
Container for the current status of map (e.g.
Link copied to clipboard
abstract fun getZoom(): Float
Get current zoom level
Link copied to clipboard
abstract fun isCameraFollowUser(): Boolean
Get whether or not the camera will auto-follow the user
Link copied to clipboard
abstract fun onUpdateMapEvent(mapEvent: UpdateMapEvent)
Call this function to update maps pragmatically.
Link copied to clipboard
abstract fun refreshMap()
refresh the map
Link copied to clipboard
abstract fun reloadBaseMapLayer()
Reload the base map tile layer from the current engine tile path.
Link copied to clipboard
abstract fun rotateToAlignNorth()
Rotate map to align north
Link copied to clipboard
abstract fun setCameraFollowUser(followUser: Boolean)
Update whether or not the camera should follow the user