RasterLayer constructor
RasterLayer(- {required String id,
- Visibility? visibility,
- double? minZoom,
- double? maxZoom,
- String? slot,
- required String sourceId,
- String? sourceLayer,
- String? rasterArrayBand,
- double? rasterBrightnessMax,
- double? rasterBrightnessMin,
- int? rasterColor,
- List<double?>? rasterColorMix,
- List<double?>? rasterColorRange,
- double? rasterContrast,
- double? rasterElevation,
- double? rasterEmissiveStrength,
- double? rasterFadeDuration,
- double? rasterHueRotate,
- double? rasterOpacity,
- RasterResampling? rasterResampling,
- 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);