snapshot

fun GoogleMap.snapshot(bitmap: Bitmap? = null): Maybe<Bitmap>

Creates a Maybe that emits a snapshot of the map when subscribed to.

Return

the Maybe emitting a snapshot of the map

Parameters

bitmap

an optional bitmap to save the snapshot to. If not provided, a new bitmap will be allocated