FloorLayer

open class FloorLayer

A class that contains a list of VectorElementMapLayer. A FloorLayer object also contains many floor variables.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun addToPinLayer(vectorElement: VectorElement): Boolean
Link copied to clipboard
open fun addToPlottingLayer(vectorElement: VectorElement)
Method to add a vector elements to the plotting layer
Link copied to clipboard
open fun clearAllLayers()
Call this function to clear all MapLayers of a FloorLayer.
Link copied to clipboard
Method to clear EntityLayer
Link copied to clipboard
Method to clear IconLayer
Link copied to clipboard
Call this function to clear all overlaid MapLayers of a FloorLayer.
Link copied to clipboard
open fun clearPinLayer()
Link copied to clipboard
Method to clear plotting layer
Link copied to clipboard
Method to clear Routing Layer
Link copied to clipboard
Link copied to clipboard
open fun finishDrawing()
Method to set if the floor layer is drawn
Link copied to clipboard
open fun getDeferredFeatureData(): ConcurrentHashMap<String, FeatureVector>
Returns the map of deferred FeatureVector data, keyed by layer name.
Link copied to clipboard
Public accessor for the package-private ENSURE_EXECUTOR so callers in other packages (e.g.
Link copied to clipboard
Method to get the entity layer
Link copied to clipboard
open fun getFloorId(): Int
Returns the floorId associated with the FloorLayer
Link copied to clipboard
Call this function to get FloorVars of the FloorLayer.
Link copied to clipboard
Method to get the icon layer
Link copied to clipboard
open fun getLayer(layerIdx: Int): MapLayer
Call this function to get a specific MapLayer based on its index.
Link copied to clipboard
open fun getLayers(): List<MapLayer>
Call this function to get all MapLayers.
Link copied to clipboard
Method to get the Map Layer which has been overlaid the last
Link copied to clipboard
Method to get the pin layer
Link copied to clipboard
Method to get the plotting layer
Link copied to clipboard
Method to get the routing layer
Link copied to clipboard
open fun getZ(): Float
Link copied to clipboard
open fun handleEntitySelection(@NonNull entity: Entity, isSelected: Boolean)
Link copied to clipboard
Returns whether native Carto layers have been created.
Link copied to clipboard
open fun highlightEntity(@NonNull entity: Entity, @NonNull hexColor: String)
Link copied to clipboard
open fun isDrawn(): Boolean
Method to get if the floor layer is drawn
Link copied to clipboard
open fun isNull(): Boolean
Call this function to check if the FloorLayer exists or not.
Link copied to clipboard
open fun isVisible(): Boolean
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeEntityHighlightsByColor(hexColorToRemove: String)
Link copied to clipboard
open fun removeFromMap()
Call this function to remove all MapLayers of a FloorLayer from the map.
Link copied to clipboard
open fun removeFromPlottingLayer(vectorElement: VectorElement): Boolean
Method to remove a vector element from the plotting layer
Link copied to clipboard
Method to set the visibility for the mEntityLayer
Link copied to clipboard
open fun setIconLayerVisibility(isVisible: Boolean)
Method to set the visibility for the IconLayer
Link copied to clipboard
open fun setOpacity(opacity: Float)
Sets the opacity for all layers if it has changed, and updates visibility.
Link copied to clipboard
open fun setPlottingLayerVisibility(isVisible: Boolean)
Method to set plotting layer's visibility
Link copied to clipboard
open fun setRoutingLayerVisibility(isVisible: Boolean)
Method to set the visibility for the routing layer
Link copied to clipboard
open fun setVisible(v: Boolean)
Call this function to set if you want the FloorLayer to be visible or not.
Link copied to clipboard
open fun storeFeatureData(layerName: String, featureVector: FeatureVector)
Stores FeatureVector data for later injection when native layers are materialized.
Link copied to clipboard
Stores icon/marker EntityVectorElements data for later injection when native layers are materialized.