RasterLayer constructor

RasterLayer({
  1. required String id,
  2. Visibility? visibility,
  3. List<Object>? visibilityExpression,
  4. List<Object>? filter,
  5. double? minZoom,
  6. double? maxZoom,
  7. String? slot,
  8. required String sourceId,
  9. String? sourceLayer,
  10. String? rasterArrayBand,
  11. List<Object>? rasterArrayBandExpression,
  12. double? rasterBrightnessMax,
  13. List<Object>? rasterBrightnessMaxExpression,
  14. double? rasterBrightnessMin,
  15. List<Object>? rasterBrightnessMinExpression,
  16. int? rasterColor,
  17. List<Object>? rasterColorExpression,
  18. List<double?>? rasterColorMix,
  19. List<Object>? rasterColorMixExpression,
  20. List<double?>? rasterColorRange,
  21. List<Object>? rasterColorRangeExpression,
  22. double? rasterContrast,
  23. List<Object>? rasterContrastExpression,
  24. double? rasterElevation,
  25. List<Object>? rasterElevationExpression,
  26. double? rasterEmissiveStrength,
  27. List<Object>? rasterEmissiveStrengthExpression,
  28. double? rasterFadeDuration,
  29. List<Object>? rasterFadeDurationExpression,
  30. double? rasterHueRotate,
  31. List<Object>? rasterHueRotateExpression,
  32. double? rasterOpacity,
  33. List<Object>? rasterOpacityExpression,
  34. RasterResampling? rasterResampling,
  35. List<Object>? rasterResamplingExpression,
  36. double? rasterSaturation,
  37. List<Object>? rasterSaturationExpression,
})

Implementation

RasterLayer({
  required super.id,
  super.visibility,
  super.visibilityExpression,
  super.filter,
  super.minZoom,
  super.maxZoom,
  super.slot,
  required this.sourceId,
  this.sourceLayer,

  this.rasterArrayBand,
  this.rasterArrayBandExpression,
  this.rasterBrightnessMax,
  this.rasterBrightnessMaxExpression,
  this.rasterBrightnessMin,
  this.rasterBrightnessMinExpression,
  this.rasterColor,
  this.rasterColorExpression,
  this.rasterColorMix,
  this.rasterColorMixExpression,
  this.rasterColorRange,
  this.rasterColorRangeExpression,
  this.rasterContrast,
  this.rasterContrastExpression,
  this.rasterElevation,
  this.rasterElevationExpression,
  this.rasterEmissiveStrength,
  this.rasterEmissiveStrengthExpression,
  this.rasterFadeDuration,
  this.rasterFadeDurationExpression,
  this.rasterHueRotate,
  this.rasterHueRotateExpression,
  this.rasterOpacity,
  this.rasterOpacityExpression,
  this.rasterResampling,
  this.rasterResamplingExpression,
  this.rasterSaturation,
  this.rasterSaturationExpression,
});