SymbolLayer constructor
SymbolLayer(- {required dynamic id,
- dynamic visibility,
- dynamic minZoom,
- dynamic maxZoom,
- required String sourceId,
- String? sourceLayer,
- bool? iconAllowOverlap,
- IconAnchor? iconAnchor,
- bool? iconIgnorePlacement,
- String? iconImage,
- bool? iconKeepUpright,
- List<double?>? iconOffset,
- bool? iconOptional,
- double? iconPadding,
- IconPitchAlignment? iconPitchAlignment,
- double? iconRotate,
- IconRotationAlignment? iconRotationAlignment,
- double? iconSize,
- IconTextFit? iconTextFit,
- List<double?>? iconTextFitPadding,
- bool? symbolAvoidEdges,
- SymbolPlacement? symbolPlacement,
- double? symbolSortKey,
- double? symbolSpacing,
- SymbolZOrder? symbolZOrder,
- bool? textAllowOverlap,
- TextAnchor? textAnchor,
- List<String?>? textFont,
- bool? textIgnorePlacement,
- TextJustify? textJustify,
- bool? textKeepUpright,
- double? textLetterSpacing,
- double? textLineHeight,
- double? textMaxAngle,
- double? textMaxWidth,
- List<double?>? textOffset,
- bool? textOptional,
- double? textPadding,
- TextPitchAlignment? textPitchAlignment,
- double? textRotate,
- TextRotationAlignment? textRotationAlignment,
- double? textSize,
- TextTransform? textTransform,
- List<String?>? textVariableAnchor,
- List<String?>? textWritingMode,
- int? iconColor,
- double? iconHaloBlur,
- int? iconHaloColor,
- double? iconHaloWidth,
- double? iconOpacity,
- List<double?>? iconTranslate,
- IconTranslateAnchor? iconTranslateAnchor,
- int? textColor,
- double? textHaloBlur,
- int? textHaloColor,
- double? textHaloWidth,
- double? textOpacity,
- List<double?>? textTranslate,
- TextTranslateAnchor? textTranslateAnchor}
)
Implementation
SymbolLayer({
required id,
visibility,
minZoom,
maxZoom,
required this.sourceId,
this.sourceLayer,
this.iconAllowOverlap,
this.iconAnchor,
this.iconIgnorePlacement,
this.iconImage,
this.iconKeepUpright,
this.iconOffset,
this.iconOptional,
this.iconPadding,
this.iconPitchAlignment,
this.iconRotate,
this.iconRotationAlignment,
this.iconSize,
this.iconTextFit,
this.iconTextFitPadding,
this.symbolAvoidEdges,
this.symbolPlacement,
this.symbolSortKey,
this.symbolSpacing,
this.symbolZOrder,
this.textAllowOverlap,
this.textAnchor,
this.textFont,
this.textIgnorePlacement,
this.textJustify,
this.textKeepUpright,
this.textLetterSpacing,
this.textLineHeight,
this.textMaxAngle,
this.textMaxWidth,
this.textOffset,
this.textOptional,
this.textPadding,
this.textPitchAlignment,
this.textRadialOffset,
this.textRotate,
this.textRotationAlignment,
this.textSize,
this.textTransform,
this.textVariableAnchor,
this.textWritingMode,
this.iconColor,
this.iconHaloBlur,
this.iconHaloColor,
this.iconHaloWidth,
this.iconOpacity,
this.iconTranslate,
this.iconTranslateAnchor,
this.textColor,
this.textHaloBlur,
this.textHaloColor,
this.textHaloWidth,
this.textOpacity,
this.textTranslate,
this.textTranslateAnchor,
}) : super(
id: id, visibility: visibility, maxZoom: maxZoom, minZoom: minZoom);