Map Scene Bottom Sheet
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
is Visible
the visibility of the bottom sheet
database Handler
the database handler object that contains the database operations
on Floor Change
the callback function that is called when the floor is changed
on Dismiss Request
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
content Index
the index of the content to display
map Build
the map build object that contains the map data
on Poi Change
the callback function that is called when the POI is changed
init Bottom Padding
the initial bottom padding of the bottom sheet