public class

MapPlotterForBuilding

extends Object
java.lang.Object
   ↳ com.mapsted.map.position.MapPlotterForBuilding

Class Overview

Class used for drawing buildings on the map

Summary

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

Public Constructors

public MapPlotterForBuilding (MainMapFragment mainMapFragment, Context applicationContext, MapApi mapApi)

Method to set up building plotter.

Parameters
mainMapFragment Fragment that shows plotted property.
applicationContext Context of the application.

Public Methods

public boolean deletePlottedBuilding (int buildingId)

Method to remove building from current plotted building list.

Parameters
buildingId id of the building that needs to be deleted.

public boolean hasSetup ()

Method to check if building plotter is set up or not.

Returns
  • boolean value that indicates if building plotter is setup or not.

public boolean isBuildingPlotted (int buildingId)

public void onDestroy ()

public synchronized void onPositionChanged (Position position)

public void plot (int buildingId, MapApi.SelectBuildingListener buildingListener)

public void populateOverlaysAsync (BuildingLayers buildingLayers)

public final void setVectorElementListener (VectorElementEventListener listener)

Method to set up VectorElementListener

Parameters
listener Used for listening to click events of the Map

public final void setVectorTileClickedListener (IMapstedVectorTileClicked listener)