MapSceneBottomSheet

fun MapSceneBottomSheet(isVisible: Boolean, databaseHandler: DatabaseHandler? = null, onFloorChange: (Floor) -> Unit, onDismissRequest: (Boolean) -> Unit, poi: Poi?, floor: Floor?, contentIndex: Int, mapBuild: MapBuild?, onPoiChange: (Poi) -> Unit, initBottomPadding: Dp = 64.dp)

Bottom sheet that contains the building information, saved locations, and the POI details. sheets are displayed based on the content index, which is used to switch between the different sheets.

Parameters

isVisible

the visibility of the bottom sheet

databaseHandler

the database handler object that contains the database operations

onFloorChange

the callback function that is called when the floor is changed

onDismissRequest

the callback function that is called when the bottom sheet is dismissed

poi

the POI object that contains the POI data

floor

the floor object that contains the floor data

contentIndex

the index of the content to display

mapBuild

the map build object that contains the map data

onPoiChange

the callback function that is called when the POI is changed

initBottomPadding

the initial bottom padding of the bottom sheet

See also