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
Get a snapshot of the current global state of the style that is used by the snapshotter, used by the global-state expression.
Link copied to clipboard
Updates the snapshotter with a new CameraPosition
Link copied to clipboard
Set a global state property on the style that is used by the snapshotter, used by the global-state expression.
Link copied to clipboard
Sets observer for a snapshotter
Link copied to clipboard
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.