| com.mapsted.map.MapApi.MapCamera | 
   Known Indirect Subclasses
  
 | 
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void | 
        centerCurrentLocation()
        
         Recenter map on current location
 
  
   | ||||||||||
| abstract boolean | 
        centerMapOnBuilding(int buildingId)
        
         Center the map on the given property 
  
   | ||||||||||
| abstract boolean | 
        centerMapOnEntity(Entity entity)
        
         Center the map on the given entity 
  
   | ||||||||||
| abstract boolean | 
        centerMapOnProperty(int propertyId)
        
         Center the map on the given property 
  
   | ||||||||||
| abstract MercatorZone | 
        getMapFocusZone()
        
         Returns current map focus point with Property/Building/Floor information, if available 
  
   | ||||||||||
| abstract MapstedMapViewStatus | 
        getMapStatus()
        
         Container for the current status of map (e.g., zoom, tilt, rotation) 
  
   | ||||||||||
| abstract float | 
        getZoom()
        
         Get current zoom level  
  
   | ||||||||||
| abstract boolean | 
        isCameraFollowUser()
        
         Get whether or not the camera will auto-follow the user 
  
   | ||||||||||
| abstract void | 
        onUpdateMapEvent(UpdateMapEvent mapEvent)
        
         Call this function to update maps pragmatically. 
  
   | ||||||||||
| abstract void | 
        refreshMap()
        
         refresh the map
 
  
   | ||||||||||
| abstract void | 
        rotateToAlignNorth()
        
         Rotate map to align north  
  
   | ||||||||||
| abstract void | 
        setCameraFollowUser(boolean followUser)
        
         Update whether or not the camera should follow the user 
  
   | ||||||||||
Recenter map on current location
Center the map on the given property
| buildingId | building to recenter on | 
|---|
Center the map on the given entity
| entity | the entity to recenter on | 
|---|
Center the map on the given property
| propertyId | property to recenter on | 
|---|
Returns current map focus point with Property/Building/Floor information, if available
Container for the current status of map (e.g., zoom, tilt, rotation)
Get current zoom level
Get whether or not the camera will auto-follow the user
Call this function to update maps pragmatically. For example, map zoom, map rotation, change map focus point etc.
| mapEvent | Pass in UpdateMapEvent object to update the map events. | 
|---|
refresh the map
Rotate map to align north
Update whether or not the camera should follow the user
| followUser | enable or disable | 
|---|