rememberPlacemarkState

fun rememberPlacemarkState(geometry: Point, direction: Float = 0.0f, key: String? = null): PlacemarkState

Uses rememberSaveable to retain PlacemarkState.geometry and PlacemarkState.direction across configuration changes, for simple use cases.

Other use cases may be better served syncing PlacemarkState.geometry and PlacemarkState.direction with a data model.