googleMapFactory

fun googleMapFactory(modifier: Modifier = Modifier, cameraPositionState: CameraPositionState = rememberCameraPositionState(), onMapLoaded: () -> Unit = {}, content: @Composable () -> Unit = {}): GoogleMapFactory

This method provides a factory pattern for GoogleMap. It can typically be used in tests to provide a default Composable of type GoogleMapFactory.

Parameters

modifier

Any modifier to be applied.

cameraPositionState

The position for the map.

onMapLoaded

Listener for the map loaded.

content

Any content to be added.