suspend fun GoogleMap.awaitSnapshot(bitmap: Bitmap? = null): Bitmap?
A suspending function that returns a bitmap snapshot of the current view of the map. Uses GoogleMap.snapshot.
bitmap - an optional preallocated bitmap
bitmap
Return the snapshot