FloorFilterState

fun FloorFilterState(geoModel: GeoModel, coroutineScope: CoroutineScope, uiProperties: UIProperties = UIProperties(), onSelectionChangedListener: (FloorFilterSelection) -> Unit = { }): FloorFilterState

Factory function for the creating FloorFilterState.

Since

200.2.0

Parameters

geoModel

the floor aware geoModel that drives the FloorFilter

coroutineScope

scope for FloorFilterState that it can use to load the GeoModel and the FloorManager

uiProperties

set of properties to customize the UI used in the FloorFilter

onSelectionChangedListener

a lambda to facilitate setting of new ViewPoint on the GeoView with the Site or Facilities extent whenever a new Site or Facility is selected