rememberUpdatedMarkerState

fun rememberUpdatedMarkerState(position: LatLng = LatLng(0.0, 0.0)): MarkerState

This function updates the state value according to the update of the input parameter, like 'rememberUpdatedState'.

This cannot be used to preserve state across configuration changes.