SymbolLayer constructor

SymbolLayer(
  1. {required dynamic id,
  2. dynamic visibility,
  3. dynamic minZoom,
  4. dynamic maxZoom,
  5. required String sourceId,
  6. String? sourceLayer,
  7. bool? iconAllowOverlap,
  8. IconAnchor? iconAnchor,
  9. bool? iconIgnorePlacement,
  10. String? iconImage,
  11. bool? iconKeepUpright,
  12. List<double?>? iconOffset,
  13. bool? iconOptional,
  14. double? iconPadding,
  15. IconPitchAlignment? iconPitchAlignment,
  16. double? iconRotate,
  17. IconRotationAlignment? iconRotationAlignment,
  18. double? iconSize,
  19. IconTextFit? iconTextFit,
  20. List<double?>? iconTextFitPadding,
  21. bool? symbolAvoidEdges,
  22. SymbolPlacement? symbolPlacement,
  23. double? symbolSortKey,
  24. double? symbolSpacing,
  25. SymbolZOrder? symbolZOrder,
  26. bool? textAllowOverlap,
  27. TextAnchor? textAnchor,
  28. List<String?>? textFont,
  29. bool? textIgnorePlacement,
  30. TextJustify? textJustify,
  31. bool? textKeepUpright,
  32. double? textLetterSpacing,
  33. double? textLineHeight,
  34. double? textMaxAngle,
  35. double? textMaxWidth,
  36. List<double?>? textOffset,
  37. bool? textOptional,
  38. double? textPadding,
  39. TextPitchAlignment? textPitchAlignment,
  40. double? textRadialOffset,
  41. double? textRotate,
  42. TextRotationAlignment? textRotationAlignment,
  43. double? textSize,
  44. TextTransform? textTransform,
  45. List<String?>? textVariableAnchor,
  46. List<String?>? textWritingMode,
  47. int? iconColor,
  48. double? iconHaloBlur,
  49. int? iconHaloColor,
  50. double? iconHaloWidth,
  51. double? iconOpacity,
  52. List<double?>? iconTranslate,
  53. IconTranslateAnchor? iconTranslateAnchor,
  54. int? textColor,
  55. double? textHaloBlur,
  56. int? textHaloColor,
  57. double? textHaloWidth,
  58. double? textOpacity,
  59. List<double?>? textTranslate,
  60. 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);