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