addImageLayer method

Future<void> addImageLayer(
  1. String layerId,
  2. String imageSourceId
)

Adds a Mapbox image layer to the map's style at render time.

Implementation

Future<void> addImageLayer(String layerId, String imageSourceId) {
  return _mapboxGlPlatform.addLayer(layerId, imageSourceId);
}