snapshot

open override fun snapshot(): Bitmap?

Called to capture a snapshot synchronously.

Return

the snapshot


open override fun snapshot(listener: MapView.OnSnapshotReady)

Called to capture a snapshot asynchronously. Consecutive requests will return snapshots in the order they were added.

Parameters

listener

The listener to be invoked when snapshot finishes