createSnapshotter abstract method

Future<SnapshotterPlatformInterface> createSnapshotter({
  1. required MapSnapshotOptions options,
  2. OnStyleLoadedListener? onStyleLoadedListener,
  3. OnMapLoadErrorListener? onMapLoadErrorListener,
  4. OnStyleDataLoadedListener? onStyleDataLoadedListener,
  5. OnStyleImageMissingListener? onStyleImageMissingListener,
})

Creates a SnapshotterPlatformInterface for capturing styled map snapshots without a live map view.

Implementation

Future<SnapshotterPlatformInterface> createSnapshotter({
  required MapSnapshotOptions options,
  OnStyleLoadedListener? onStyleLoadedListener,
  OnMapLoadErrorListener? onMapLoadErrorListener,
  OnStyleDataLoadedListener? onStyleDataLoadedListener,
  OnStyleImageMissingListener? onStyleImageMissingListener,
});