MapboxStandardStyle

fun MapboxStandardStyle(topSlot: @Composable () -> Unit? = null, middleSlot: @Composable () -> Unit? = null, bottomSlot: @Composable () -> Unit? = null, lightPreset: LightPreset = LightPreset.default, projection: Projection = Projection.default, atmosphereState: AtmosphereState = AtmosphereState.default, terrainState: TerrainState = TerrainState.initial)

The convenient composable function to set a Mapbox Standard style to the map, with available slots and config options.

Parameters

topSlot

The content to be set to the top slot of the Mapbox Standard style.

middleSlot

The content to be set to the middle slot of the Mapbox Standard style.

bottomSlot

The content to be set to the bottom slot of the Mapbox Standard style.

lightPreset

The LightPreset settings of the Mapbox Standard Style, available lightPresets including "day", "night", "dawn", "dusk".

projection

The projection to be set to the map. Defaults to Projection.default meaning that projection value is taken from the Standard style definition.

atmosphereState

The atmosphere to be set to the map. Defaults to AtmosphereState.default meaning that atmosphere is the default defined in Standard style definition.

terrainState

The terrain to be set to the map. Defaults to initial state meaning no custom terrain is added, default value is taken from Standard style definition.