Snapshotter
Snapshotter is high-level component responsible for taking map snapshot with given MapSnapshotOptions. The Snapshotter is valid until destroy is called.
Constructors
Types
Functions
Convenience method that returns the camera options object for given arguments
Returns the coordinate bounds for a given camera.
Get the current camera state.
Get the JSON serialization string of the current Mapbox Style in use.
Get the URI of the current Mapbox Style in use.
Set the camera options of the snapshot.
Load the style from a provided JSON string.
Set SnapshotStyleListener to listen to all events style related.
Set the URI of the current Mapbox Style in use.
Request a new snapshot. If there is a running snapshot request, it is cancelled and SnapshotResultCallback.onSnapshotResult for it will be called with snapshot=NULL.
Returns tileIDs that cover current map camera