addRasterLayer method

  1. @override
Future<void> addRasterLayer(
  1. String sourceId,
  2. String layerId,
  3. Map<String, dynamic> properties, {
  4. String? belowLayerId,
  5. String? sourceLayer,
  6. double? minzoom,
  7. double? maxzoom,
})
override

Implementation

@override
Future<void> addRasterLayer(
    String sourceId, String layerId, Map<String, dynamic> properties,
    {String? belowLayerId,
    String? sourceLayer,
    double? minzoom,
    double? maxzoom}) async {
  await _addLayer(sourceId, layerId, properties, "raster",
      belowLayerId: belowLayerId,
      sourceLayer: sourceLayer,
      minzoom: minzoom,
      maxzoom: maxzoom,
      enableInteraction: false);
}