RasterLayer constructor

RasterLayer(
  1. {required String id,
  2. Visibility? visibility,
  3. double? minZoom,
  4. double? maxZoom,
  5. String? slot,
  6. required String sourceId,
  7. String? sourceLayer,
  8. String? rasterArrayBand,
  9. double? rasterBrightnessMax,
  10. double? rasterBrightnessMin,
  11. int? rasterColor,
  12. List<double?>? rasterColorMix,
  13. List<double?>? rasterColorRange,
  14. double? rasterContrast,
  15. double? rasterElevation,
  16. double? rasterEmissiveStrength,
  17. double? rasterFadeDuration,
  18. double? rasterHueRotate,
  19. double? rasterOpacity,
  20. RasterResampling? rasterResampling,
  21. double? rasterSaturation}
)

Implementation

RasterLayer({
  required String id,
  Visibility? visibility,
  double? minZoom,
  double? maxZoom,
  String? slot,
  required this.sourceId,
  this.sourceLayer,
  this.rasterArrayBand,
  this.rasterBrightnessMax,
  this.rasterBrightnessMin,
  this.rasterColor,
  this.rasterColorMix,
  this.rasterColorRange,
  this.rasterContrast,
  this.rasterElevation,
  this.rasterEmissiveStrength,
  this.rasterFadeDuration,
  this.rasterHueRotate,
  this.rasterOpacity,
  this.rasterResampling,
  this.rasterSaturation,
}) : super(
          id: id,
          visibility: visibility,
          maxZoom: maxZoom,
          minZoom: minZoom,
          slot: slot);