addImageSource method

Future<void> addImageSource(
  1. String imageSourceId,
  2. Uint8List bytes,
  3. LatLngQuad coordinates
)

Adds an image source to the style currently displayed in the map, so that it can later be referred to by the provided id.

Implementation

Future<void> addImageSource(
    String imageSourceId, Uint8List bytes, LatLngQuad coordinates) {
  return _mapboxGlPlatform.addImageSource(imageSourceId, bytes, coordinates);
}