-
public final class MapEffectKt
-
-
Method Summary
Modifier and Type Method Description final static UnitMapEffect(Object key1, SuspendFunction2<CoroutineScope, GoogleMap, Unit> block)A side-effect backed by a LaunchedEffect which will launch block and provide the underlying managed GoogleMap object into the composition's CoroutineContext. final static UnitMapEffect(Object key1, Object key2, SuspendFunction2<CoroutineScope, GoogleMap, Unit> block)A side-effect backed by a LaunchedEffect which will launch block and provide the underlying managed GoogleMap object into the composition's CoroutineContext. final static UnitMapEffect(Object key1, Object key2, Object key3, SuspendFunction2<CoroutineScope, GoogleMap, Unit> block)A side-effect backed by a LaunchedEffect which will launch block and provide the underlying managed GoogleMap object into the composition's CoroutineContext. final static UnitMapEffect(Object keys, SuspendFunction2<CoroutineScope, GoogleMap, Unit> block)A side-effect backed by a LaunchedEffect which will launch block and provide the underlying managed GoogleMap object into the composition's CoroutineContext. -
-
Method Detail
-
MapEffect
@Composable()@MapsComposeExperimentalApi() final static Unit MapEffect(Object key1, SuspendFunction2<CoroutineScope, GoogleMap, Unit> block)
A side-effect backed by a LaunchedEffect which will launch block and provide the underlying managed GoogleMap object into the composition's CoroutineContext. This effect will be re-launched when a different key1 is provided.
Note: This effect should be used with caution as the GoogleMap's properties is managed by the _root_ide_package_.com.google.maps.android.compose.GoogleMap() composable function. However, there are use cases when obtaining a raw reference to the map is desirable for extensibility (e.g. using the utility library for clustering).
-
MapEffect
@Composable()@MapsComposeExperimentalApi() final static Unit MapEffect(Object key1, Object key2, SuspendFunction2<CoroutineScope, GoogleMap, Unit> block)
A side-effect backed by a LaunchedEffect which will launch block and provide the underlying managed GoogleMap object into the composition's CoroutineContext. This effect will be re-launched when a different key1 or key2 is provided.
Note: This effect should be used with caution as the GoogleMap's properties is managed by the _root_ide_package_.com.google.maps.android.compose.GoogleMap() composable function. However, there are use cases when obtaining a raw reference to the map is desirable for extensibility (e.g. using the utility library for clustering).
-
MapEffect
@Composable()@MapsComposeExperimentalApi() final static Unit MapEffect(Object key1, Object key2, Object key3, SuspendFunction2<CoroutineScope, GoogleMap, Unit> block)
A side-effect backed by a LaunchedEffect which will launch block and provide the underlying managed GoogleMap object into the composition's CoroutineContext. This effect will be re-launched when a different key1, key2, or key3 is provided.
Note: This effect should be used with caution as the GoogleMap's properties is managed by the _root_ide_package_.com.google.maps.android.compose.GoogleMap() composable function. However, there are use cases when obtaining a raw reference to the map is desirable for extensibility (e.g. using the utility library for clustering).
-
MapEffect
@Composable()@MapsComposeExperimentalApi() final static Unit MapEffect(Object keys, SuspendFunction2<CoroutineScope, GoogleMap, Unit> block)
A side-effect backed by a LaunchedEffect which will launch block and provide the underlying managed GoogleMap object into the composition's CoroutineContext. This effect will be re-launched with any different keys.
Note: This effect should be used with caution as the GoogleMap's properties is managed by the _root_ide_package_.com.google.maps.android.compose.GoogleMap() composable function. However, there are use cases when obtaining a raw reference to the map is desirable for extensibility (e.g. using the utility library for clustering).
-
-
-
-