Fill Extrusion Layer
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
source State
the source that drives this layer.
layer Id
the ID of the layer, by default, a random id will be generated with UUID.
fill Extrusion Layer State
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
source State
the source that drives this layer.
layer Id
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.