addImageLayer method

Future<void> addImageLayer(
  1. String layerId,
  2. String imageSourceId, {
  3. double? minzoom,
  4. double? maxzoom,
})

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

Implementation

Future<void> addImageLayer(String layerId, String imageSourceId,
    {double? minzoom, double? maxzoom}) {
  return _vietmapGLPlatform.addLayer(
      layerId, imageSourceId, minzoom, maxzoom);
}