rememberPolylineState

Uses rememberSaveable to retain PolylineState.geometry across configuration changes, for simple use cases.

Other use cases may be better served syncing PolylineState.geometry with a data model.