java.lang.Object | |
↳ | com.mapsted.map.MapstedMapApi.LayersImpl |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LayersImpl(MapApi mapApi, MapstedMapApi.MapViewImpl mapView) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
clearPropertyAndBuildingPinLayers(int propertyId)
Clear all pin layers for property and buildings
| ||||||||||
void |
clearPropertyAndBuildingRoutingLayers(int propertyId)
Clear all routing 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)
| ||||||||||
void |
initialize(int propertyId, VectorElementEventListener vectorElementListener, IMapstedVectorTileClicked vectorTileClickedListener, Consumer<Boolean> callback)
Initializes property (and building) layers for a given property
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
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 |