| java.lang.Object | |
| ↳ | com.mapsted.map.position.MapPlotterForBuilding | 
Class used for drawing buildings on the map
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
        MapPlotterForBuilding(MainMapFragment mainMapFragment, Context applicationContext, MapApi mapApi)
        
         Method to set up building plotter. 
  
   | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | 
        deletePlottedBuilding(int buildingId)
        
         Method to remove building from current plotted building list. 
  
   | ||||||||||
| boolean | 
        hasSetup()
        
         Method to check if building plotter is set up or not. 
  
   | ||||||||||
| boolean | isBuildingPlotted(int buildingId) | ||||||||||
| void | onDestroy() | ||||||||||
| synchronized void | onPositionChanged(Position position) | ||||||||||
| void | plot(int buildingId, MapApi.SelectBuildingListener buildingListener) | ||||||||||
| void | populateOverlaysAsync(BuildingLayers buildingLayers) | ||||||||||
| final void | 
        setVectorElementListener(VectorElementEventListener listener)
        
         Method to set up  
  
  VectorElementListener | ||||||||||
| final void | setVectorTileClickedListener(IMapstedVectorTileClicked listener) | ||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
Method to set up building plotter.
| mainMapFragment | Fragment that shows plotted property. | 
|---|---|
| applicationContext | Context of the application. | 
Method to remove building from current plotted building list.
| buildingId | id of the building that needs to be deleted. | 
|---|
Method to check if building plotter is set up or not.
Method to set up VectorElementListener
| listener | Used for listening to click events of the Map | 
|---|