BackgroundLayer constructor

BackgroundLayer({
  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. int? backgroundColor,
  9. List<Object>? backgroundColorExpression,
  10. double? backgroundEmissiveStrength,
  11. List<Object>? backgroundEmissiveStrengthExpression,
  12. double? backgroundOpacity,
  13. List<Object>? backgroundOpacityExpression,
  14. String? backgroundPattern,
  15. List<Object>? backgroundPatternExpression,
  16. BackgroundPitchAlignment? backgroundPitchAlignment,
  17. List<Object>? backgroundPitchAlignmentExpression,
})

Implementation

BackgroundLayer({
  required String id,
  Visibility? visibility,
  List<Object>? visibilityExpression,
  List<Object>? filter,
  double? minZoom,
  double? maxZoom,
  String? slot,
  int? this.backgroundColor,
  List<Object>? this.backgroundColorExpression,
  double? this.backgroundEmissiveStrength,
  List<Object>? this.backgroundEmissiveStrengthExpression,
  double? this.backgroundOpacity,
  List<Object>? this.backgroundOpacityExpression,
  String? this.backgroundPattern,
  List<Object>? this.backgroundPatternExpression,
  BackgroundPitchAlignment? this.backgroundPitchAlignment,
  List<Object>? this.backgroundPitchAlignmentExpression,
}) : super(
          id: id,
          visibility: visibility,
          visibilityExpression: visibilityExpression,
          filter: filter,
          maxZoom: maxZoom,
          minZoom: minZoom,
          slot: slot);