rememberMapCameraPositionState

Creates and remembers a MapCameraPositionState, saved across configuration changes and process death.

Parameters

init

configures the state when it is first created — typically by setting MapCameraPositionState.position to the camera the map should open at.