Indoor Selector Control
Headless composable that attaches the indoor plugin to state without rendering any UI.
Use this when you want to implement your own floor-selector UI while still driving IndoorSelectorState.floors and IndoorSelectorState.selectedFloorId from the live map data.
Example:
val indoorState = rememberIndoorSelectorState()
MapboxMap(
indoorSelector = { IndoorSelectorControl(state = indoorState) }
) { ... }
// Use indoorState.floors / indoorState.selectedFloorId in your own UIContent copied to clipboard
Parameters
state
IndoorSelectorState to wire to the map; use rememberIndoorSelectorState to create one.