FillExtrusionLayer
fun FillExtrusionLayer( sourceState: SourceState, layerId: String = remember {
generateRandomLayerId("fill-extrusion")
}, fillExtrusionLayerState: FillExtrusionLayerState = remember { FillExtrusionLayerState() })
An extruded (3D) polygon.
This composable function inserts a FillExtrusionLayer to the map. For convenience, if there's no need to hoist the fillExtrusionLayerState, use FillExtrusionLayer(sourceState, layerId, init)
with trailing lambda instead.
See also
Parameters
sourceState
the source that drives this layer.
layerId
the ID of the layer, by default, a random id will be generated with UUID.
fillExtrusionLayerState
the state holder for FillExtrusionLayer's properties.
inline fun FillExtrusionLayer( sourceState: SourceState, layerId: String = remember {
generateRandomLayerId("fill-extrusion")
}, crossinline init: FillExtrusionLayerState.() -> Unit)
An extruded (3D) polygon.
This composable function inserts a FillExtrusionLayer to the map.
See also
Parameters
sourceState
the source that drives this layer.
layerId
the ID of the layer, by default, a random id will be generated with UUID.
init
the lambda that will be applied to the remembered FillExtrusionLayerState.