addLayer method

  1. @override
Future<void> addLayer(
  1. String sourceId,
  2. String layerId,
  3. LayerProperties properties, {
  4. String? belowLayerId,
  5. bool enableInteraction = true,
  6. String? sourceLayer,
  7. double? minzoom,
  8. double? maxzoom,
  9. dynamic filter,
})
override

Implementation

@override
Future<void> addLayer(
    String sourceId, String layerId, LayerProperties properties,
    {String? belowLayerId,
    bool enableInteraction = true,
    String? sourceLayer,
    double? minzoom,
    double? maxzoom,
    dynamic filter}) {
  return _controller.addLayer(sourceId, layerId, properties,
      belowLayerId: belowLayerId,
      enableInteraction: enableInteraction,
      sourceLayer: sourceLayer,
      minzoom: minzoom,
      maxzoom: maxzoom,
      filter: filter);
}