Snapshotter
Snapshotter is high-level component responsible for taking map snapshot with given MapSnapshotOptions.
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.
Returns TRUE if the snapshotter is in the tile mode.
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.
Sets the snapshotter to the tile mode.
Start taking a snapshot.
Subscribes an Observer to a provided list of event types. Observable will hold a strong reference to an Observer instance, therefore, in order to stop receiving notifications, caller must call unsubscribe with an Observer instance used for an initial subscription.
Unsubscribes an Observer from all events.
Unsubscribes an Observer from a provided list of event types.