Location Indicator Layer
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
layer Id
the ID of the layer, by default, a random id will be generated with UUID.
location Indicator Layer State
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
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 LocationIndicatorLayerState.