SymbolLayer constructor

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

Implementation

SymbolLayer({
  required id,
  visibility,
  minZoom,
  maxZoom,
  slot,
  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.symbolZElevate,
  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.iconEmissiveStrength,
  this.iconHaloBlur,
  this.iconHaloColor,
  this.iconHaloWidth,
  this.iconImageCrossFade,
  this.iconOpacity,
  this.iconTranslate,
  this.iconTranslateAnchor,
  this.textColor,
  this.textEmissiveStrength,
  this.textHaloBlur,
  this.textHaloColor,
  this.textHaloWidth,
  this.textOpacity,
  this.textTranslate,
  this.textTranslateAnchor,
}) : super(
          id: id,
          visibility: visibility,
          maxZoom: maxZoom,
          minZoom: minZoom,
          slot: slot);