addLayerBelow method

  1. @Deprecated("This method was renamed to addImageLayerBelow for clarity.")
Future<void> addLayerBelow(
  1. String layerId,
  2. String sourceId,
  3. String imageSourceId
)

Adds a Mapbox image layer below the layer provided with belowLayerId to the map's style at render time. Only works for image sources!

Implementation

@Deprecated("This method was renamed to addImageLayerBelow for clarity.")
Future<void> addLayerBelow(
    String layerId, String sourceId, String imageSourceId) {
  return _mapboxGlPlatform.addLayerBelow(layerId, sourceId, imageSourceId);
}