suspend fun GoogleMap.awaitAnimateCamera(cameraUpdate: CameraUpdate, durationMs: Int = 3000): Unit
A suspending function that awaits the completion of the cameraUpdate animation.
cameraUpdate
- the CameraUpdate to apply on the map
durationMs
- the duration in milliseconds of the animation. Defaults to 3 seconds.