Package-level declarations
Types
Enumerates the different reasons why the map camera started to move.
A state object that can be hoisted to control and observe the map's camera state. A CameraPositionState may only be used by a single GoogleMap composable at a time as it reflects instance state for a single view of a map.
Enum representing a 1-1 mapping to com.google.android.gms.maps.model.MapColorScheme.
Default implementation of IndoorStateChangeListener with no-op implementations.
An annotation that can be used to mark a composable function as being expected to be use in a composable function that is also marked or inferred to be marked as a GoogleMapComposable.
The position of a GroundOverlay.
Interface definition for building indoor level state changes.
Data class for properties that can be modified on the map.
Marks declarations that are still experimental.
Data class for UI-related settings on the map.
A state object that can be hoisted to control and observe the marker state.
A state object that can be hoisted to control the state of a TileOverlay. A TileOverlayState may only be used by a single TileOverlay composable at a time.
Properties
The current CameraPositionState used by the map.
Default map content padding does not pad.
Equivalent to MapProperties with default values.
Default settings are all enabled.
Functions
A composable for an advanced marker on the map.
A composable for a circle on the map.
A compose container for a MapView.
This method provides a factory pattern for GoogleMap. It can typically be used in tests to provide a default Composable of type GoogleMapFactory.
A composable for a ground overlay on the map.
A generic handler for map input. Non-null lambdas will be invoked if no other node was able to handle that input. For example, if OnMarkerClickListener.onMarkerClick was invoked and no matching MarkerNode was found, this onMarkerClick will be invoked.
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.
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.
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.
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.
A composable for a marker on the map.
Composable rendering the content passed as a marker.
A composable for a marker on the map wherein its entire info window can be customized. If this customization is not required, use com.google.maps.android.compose.Marker.
A composable for a marker on the map wherein its entire info window and the marker itself can be customized. If this customization is not required, use com.google.maps.android.compose.Marker.
A composable for a marker on the map wherein its info window contents can be customized. If this customization is not required, use com.google.maps.android.compose.Marker.
A composable for a polygon on the map.
A composable for a polyline on the map.
A composable for a polyline on the map that supports a StyleSpan.
Create and rememberSaveable a CameraPositionState using CameraPositionState.Saver. init will be called when the CameraPositionState is first created to configure its initial state.
Uses rememberSaveable to retain MarkerState.position across configuration changes, for simple use cases.
Returns a lambda that, when invoked, will reattach click listeners set by the MapApplier on the GoogleMap. Used for working around other functionality that modifies those click listeners, such as clustering.
A composable for a tile overlay on the map.