FloorManager

class FloorManager : Loadable

Manages the data displayed by a floor-aware map or scene, allowing filtering based on floor levels. A FloorManager must be loaded before you can access its site, facility, and level properties. When a map's floor manager is loaded, floor-aware layers display only data associated with the ground floor by default. When a scene's floor manager is loaded, floor-aware layers display data from all floors by default. You can filter the data displayed by floor-aware layers by toggling the FloorLevel.getIsVisible() property of levels in the floor manager. The FloorManager will fail to load if:

  • The map/scene associated with the floor manager is not floor-aware.

  • The mandatory facility or level layer doesn't exist.

  • It is unable to get the facilities or levels from their respective layers.

  • It is unable to get the sites from a specified site layer.

See also

ArcGISMap

Functions

Link copied to clipboard
open override fun cancelLoad()

Cancels loading metadata for the Loadable object.

Link copied to clipboard
open suspend override fun load(): Result<Unit>

Loads the metadata for the object.

Link copied to clipboard
open suspend override fun retryLoad(): Result<Unit>

Loads or retries loading metadata for the object.

Properties

Link copied to clipboard
val facilities: List<FloorFacility>

The facilities in the floor-aware map or scene. These are obtained from FloorManager.getFacilityLayer() This property is initialized after the FloorManager is loaded.

Link copied to clipboard
val facilityLayer: Layer?
Link copied to clipboard
val levelLayer: Layer?
Link copied to clipboard
val levels: List<FloorLevel>

The floor levels in the floor-aware map or scene. These are obtained from FloorManager.getLevelLayer() This property is initialized after the FloorManager is loaded.

Link copied to clipboard
open override val loadStatus: StateFlow<LoadStatus>

The load status.

Link copied to clipboard
val siteLayer: Layer?
Link copied to clipboard
val sites: List<FloorSite>

The sites in the floor-aware map or scene. These are obtained from FloorManager.getSiteLayer() and sorted based on name. This property is initialized after the FloorManager is loaded.