MapCameraImpl

open inner class MapCameraImpl : MapApi.MapCamera

Constructors

Link copied to clipboard
constructor(mapView: MapApi.MapView)

Functions

Link copied to clipboard
Recenter map on current location
Link copied to clipboard
open fun centerMapOnBuilding(buildingId: Int): Boolean
Center the map on the given property
Link copied to clipboard
Center the map on the given entity
Link copied to clipboard
open 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
open fun centerMapToDefaultBuilding(propertyId: Int, isMultiBuildingProperty: Boolean)
Adjusts the map focus based on the given property ID.
Link copied to clipboard
open 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
open fun getZoom(): Float
Get current zoom level
Link copied to clipboard
Get whether or not the camera will auto-follow the user
Link copied to clipboard
open fun onUpdateMapEvent(updateMapEvent: UpdateMapEvent)
Call this function to update maps pragmatically.
Link copied to clipboard
open fun refreshMap()
refresh the map
Link copied to clipboard
Reload the base map tile layer from the current engine tile path.
Link copied to clipboard
Call this function to rotate the map to be aligned north.
Link copied to clipboard
open fun setCameraFollowUser(followUser: Boolean)
Update whether or not the camera should follow the user