HillshadeLayer constructor
HillshadeLayer({
- required String id,
- Visibility? visibility,
- List<
Object> ? visibilityExpression, - List<
Object> ? filter, - double? minZoom,
- double? maxZoom,
- String? slot,
- required String sourceId,
- String? sourceLayer,
- int? hillshadeAccentColor,
- List<
Object> ? hillshadeAccentColorExpression, - double? hillshadeEmissiveStrength,
- List<
Object> ? hillshadeEmissiveStrengthExpression, - double? hillshadeExaggeration,
- List<
Object> ? hillshadeExaggerationExpression, - int? hillshadeHighlightColor,
- List<
Object> ? hillshadeHighlightColorExpression, - HillshadeIlluminationAnchor? hillshadeIlluminationAnchor,
- List<
Object> ? hillshadeIlluminationAnchorExpression, - double? hillshadeIlluminationDirection,
- List<
Object> ? hillshadeIlluminationDirectionExpression, - int? hillshadeShadowColor,
- List<
Object> ? hillshadeShadowColorExpression,
Implementation
HillshadeLayer({
required String id,
Visibility? visibility,
List<Object>? visibilityExpression,
List<Object>? filter,
double? minZoom,
double? maxZoom,
String? slot,
required String this.sourceId,
String? this.sourceLayer,
int? this.hillshadeAccentColor,
List<Object>? this.hillshadeAccentColorExpression,
double? this.hillshadeEmissiveStrength,
List<Object>? this.hillshadeEmissiveStrengthExpression,
double? this.hillshadeExaggeration,
List<Object>? this.hillshadeExaggerationExpression,
int? this.hillshadeHighlightColor,
List<Object>? this.hillshadeHighlightColorExpression,
HillshadeIlluminationAnchor? this.hillshadeIlluminationAnchor,
List<Object>? this.hillshadeIlluminationAnchorExpression,
double? this.hillshadeIlluminationDirection,
List<Object>? this.hillshadeIlluminationDirectionExpression,
int? this.hillshadeShadowColor,
List<Object>? this.hillshadeShadowColorExpression,
}) : super(
id: id,
visibility: visibility,
visibilityExpression: visibilityExpression,
filter: filter,
maxZoom: maxZoom,
minZoom: minZoom,
slot: slot);