takeScreenshot

open fun takeScreenshot(snapshotReadyCallback: MapboxMap.SnapshotReadyCallback)

Used to take the snapshot of the current state of the map.