public class

MapstedMapApi.LayersImpl

extends Object
implements MapApi.Layers
java.lang.Object
   ↳ com.mapsted.map.MapstedMapApi.LayersImpl

Summary

Public Constructors
LayersImpl(MapstedMapApi.MapViewImpl mapView)
Public Methods
void clearPropertyAndBuildingPinLayers(int propertyId)
Clear all pin layers for property and buildings
BuildingLayers getBuildingLayers(int buildingId)
Call this function to get building layers corresponding to the building id.
PropertyLayers getPropertyLayer(int propertyId)
Call this function to get the property layer
BuildingLayers getSelectedBuildingLayers()
Call this function to get current selected building layers.
VectorElementMapLayer getTopLayer()
Get the top layer (always on top)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.mapsted.map.MapApi.Layers

Public Constructors

public LayersImpl (MapstedMapApi.MapViewImpl mapView)

Public Methods

public void clearPropertyAndBuildingPinLayers (int propertyId)

Clear all pin layers for property and buildings

Parameters
propertyId the propertyId

public BuildingLayers getBuildingLayers (int buildingId)

Call this function to get building layers corresponding to the building id.

If you want to get selected building's building layer. Use getSelectedBuildingLayers() instead.

Parameters
buildingId Building id corresponding to the building layer you get.
Returns
  • A building layer contains a list of floor layers which contains a list of map layers. Each layer contains a list of element that's added to the map. If the building layer has not initiated yet, it will return null.

public PropertyLayers getPropertyLayer (int propertyId)

Call this function to get the property layer

Returns
  • Property Layer object

public BuildingLayers getSelectedBuildingLayers ()

Call this function to get current selected building layers.

If you want to get a building layer based on building id. Use getBuildingLayers(int) instead.

Returns
  • A building layer contains a list of floor layers which contains a list of map layers. Each layer contains a list of element that's added to the map. If the building layer has not initiated yet, it will return null.

public VectorElementMapLayer getTopLayer ()

Get the top layer (always on top)

Returns
  • MapLayer dedicated for top layer