onSnapshotReady

abstract fun onSnapshotReady(bitmap: Bitmap?)(source)

Called when the snapshot is ready.

This method is invoked on the Android UI thread after the map snapshot has been captured.

Parameters

bitmap

A Bitmap containing the map snapshot, or null if the snapshot could not be taken (e.g., if the view has not been laid out yet or has zero width/height).