| com.mapsted.map.MapApi.Layers |
Known Indirect Subclasses
|
Access/manage map-layer related functionality
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
clearPropertyAndBuildingPinLayers(int propertyId)
Clear all pin layers for property and buildings
| ||||||||||
| abstract void |
clearPropertyAndBuildingRoutingLayers(int propertyId)
Clear all routing layers for property and buildings
| ||||||||||
| abstract BuildingLayers |
getBuildingLayers(int buildingId)
Call this function to get building layers corresponding to the
building id.
| ||||||||||
| abstract PropertyLayers |
getPropertyLayer(int propertyId)
Call this function to get the property layer
| ||||||||||
| abstract BuildingLayers |
getSelectedBuildingLayers()
Call this function to get current selected building layers.
| ||||||||||
| abstract VectorElementMapLayer |
getTopLayer()
Get the top layer (always on top)
| ||||||||||
| abstract void |
initialize(int propertyId, VectorElementEventListener vectorElementListener, IMapstedVectorTileClicked vectorTileClickedListener, Consumer<Boolean> callback)
Initializes property (and building) layers for a given property
| ||||||||||
Clear all pin layers for property and buildings
| propertyId | the propertyId |
|---|
Clear all routing layers for property and buildings
| propertyId | the propertyId |
|---|
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.
| buildingId | Building id corresponding to the building layer you get. |
|---|
Call this function to get the property layer
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.
Get the top layer (always on top)
Initializes property (and building) layers for a given property
| propertyId | the property layers to initialize |
|---|---|
| vectorElementListener | the vector element listener |
| vectorTileClickedListener | the vector tile clicked listener |
| callback | callback for whether or not initialization was successful |