awaitSnapshot

inline 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.

Return

the snapshot

Parameters

bitmap

an optional preallocated bitmap