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 String id,
  Visibility? visibility,
  List<Object>? visibilityExpression,
  List<Object>? filter,
  double? minZoom,
  double? maxZoom,
  String? slot,
  required String this.sourceId,
  String? this.sourceLayer,
  String? this.rasterArrayBand,
  List<Object>? this.rasterArrayBandExpression,
  double? this.rasterBrightnessMax,
  List<Object>? this.rasterBrightnessMaxExpression,
  double? this.rasterBrightnessMin,
  List<Object>? this.rasterBrightnessMinExpression,
  int? this.rasterColor,
  List<Object>? this.rasterColorExpression,
  List<double?>? this.rasterColorMix,
  List<Object>? this.rasterColorMixExpression,
  List<double?>? this.rasterColorRange,
  List<Object>? this.rasterColorRangeExpression,
  double? this.rasterContrast,
  List<Object>? this.rasterContrastExpression,
  double? this.rasterElevation,
  List<Object>? this.rasterElevationExpression,
  double? this.rasterEmissiveStrength,
  List<Object>? this.rasterEmissiveStrengthExpression,
  double? this.rasterFadeDuration,
  List<Object>? this.rasterFadeDurationExpression,
  double? this.rasterHueRotate,
  List<Object>? this.rasterHueRotateExpression,
  double? this.rasterOpacity,
  List<Object>? this.rasterOpacityExpression,
  RasterResampling? this.rasterResampling,
  List<Object>? this.rasterResamplingExpression,
  double? this.rasterSaturation,
  List<Object>? this.rasterSaturationExpression,
}) : super(
          id: id,
          visibility: visibility,
          visibilityExpression: visibilityExpression,
          filter: filter,
          maxZoom: maxZoom,
          minZoom: minZoom,
          slot: slot);