MapLibre Compose API Reference
Toggle table of contents
0.12.1
common
Target filter
common
Switch theme
Search in API
Skip to content
MapLibre Compose API Reference
maplibre-compose
/
org.maplibre.compose.location
/
rememberUserLocationState
remember
User
Location
State
@
Composable
fun
rememberUserLocationState
(
locationProvider
:
LocationProvider
,
lifecycleOwner
:
LifecycleOwner
=
LocalLifecycleOwner.current
,
minActiveState
:
Lifecycle.State
=
Lifecycle.State.STARTED
,
coroutineContext
:
CoroutineContext
=
EmptyCoroutineContext
)
:
UserLocationState
(
source
)