Floor Filter State
Represents the state for the FloorFilter.
Workflow example:
val floorFilterState: FloorFilterState = FloorFilterState(this.map.value, viewModelScope, uiProperties) { floorFilterSelection ->
when (floorFilterSelection.type) {
is FloorFilterSelection.Type.FloorSite -> {
val floorFilterSelectionType =
floorFilterSelection.type as FloorFilterSelection.Type.FloorSite
floorFilterSelectionType.site.geometry?.let {
this.setViewpoint(Viewpoint(getEnvelopeWithBuffer(it)))
}
}
is FloorFilterSelection.Type.FloorFacility -> {
....
}
}
Content copied to clipboard
Since
200.2.0