LocationIndicatorLayer

fun LocationIndicatorLayer(layerId: String = remember { generateRandomLayerId("location-indicator") }, locationIndicatorLayerState: LocationIndicatorLayerState = remember { LocationIndicatorLayerState() })

Location Indicator layer.

This composable function inserts a LocationIndicatorLayer to the map. For convenience, if there's no need to hoist the locationIndicatorLayerState, use LocationIndicatorLayer(layerId, init) with trailing lambda instead.

See also

Parameters

layerId

the ID of the layer, by default, a random id will be generated with UUID.

locationIndicatorLayerState

the state holder for LocationIndicatorLayer's properties.


inline fun LocationIndicatorLayer(layerId: String = remember { generateRandomLayerId("location-indicator") }, crossinline init: LocationIndicatorLayerState.() -> Unit)

Location Indicator layer.

This composable function inserts a LocationIndicatorLayer to the map.

See also

Parameters

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 LocationIndicatorLayerState.