BuildingLayers
Class that contains a list of floor layers which contains a list of map layers. Each layer contains a list of elements that's added to the map.
Properties
Functions
Link copied to clipboard
Clear all overlay layers in the building
Link copied to clipboard
Clear all pin layers in the building
Link copied to clipboard
Clear all routing layers in the building
Link copied to clipboard
Call this function to remove all floor layers in the building layer.
Link copied to clipboard
Method to return building Id
Link copied to clipboard
Call this function to get a building layer's current floor layer.
Link copied to clipboard
Call this function to get current floor id.
Link copied to clipboard
Call this function to get certain floor layer corresponding to a floor id.
Link copied to clipboard
Get all floor layers in the building layer
Link copied to clipboard
Sets the opacity for all floor layers asynchronously.
Link copied to clipboard
Sets the visibility of all floor layers.
Link copied to clipboard
Shows only the floor layer with the given ID and hides others.
Link copied to clipboard
open fun switchFloor(targetFloorId: Int, @NonNull listeners: List<MapSelectionChangeListener>): Boolean
Set current floorId and set layer visible.
open fun switchFloor(targetFloorId: Int, @NonNull listeners: List<MapSelectionChangeListener>, @Nullable onSwitched: Consumer<Boolean>): Boolean
Same as switchFloor but notifies
onSwitched once the target floor is actually visible (its native layers materialized for a deferred floor).Link copied to clipboard
Link copied to clipboard