rememberMapState

inline fun rememberMapState(key: String? = null, crossinline init: MapState.() -> Unit = {}): MapState

Create and rememberSaveable a MapState using MapState.Saver. init will be called when the MapState is first created to configure its initial state.