Map Snapshotter
The map snapshotter creates a large of the map, rendered off the UI thread. The snapshotter itself must be used on the UI thread (for access to the main looper)
Types
Functions
Link copied to clipboard
Updates the snapshotter with a new CameraPosition
Link copied to clipboard
Sets observer for a snapshotter
Link copied to clipboard
Updates the snapshotter with a new LatLngBounds
Link copied to clipboard
Updates the snapshotter with a new style json
Link copied to clipboard
Updates the snapshotter with a new style url
Link copied to clipboard
fun start(callback: MapSnapshotter.SnapshotReadyCallback, errorHandler: MapSnapshotter.ErrorHandler? = null)
Starts loading and rendering the snapshot. The callbacks will be fired on the calling thread.