MarkerOptions constructor

const MarkerOptions({
  1. required GeoPointWithElevation position,
  2. required Image? icon,
  3. MapDirection? iconMapDirection = null,
  4. Anchor anchor = const Anchor(x: 0.5, y: 0.5),
  5. String? text = null,
  6. TextStyle? textStyle = null,
  7. Opacity iconOpacity = const Opacity(1),
  8. bool visible = true,
  9. bool draggable = false,
  10. LogicalPixel iconWidth = const LogicalPixel(0),
  11. Object? userData = const {},
  12. ZIndex zIndex = const ZIndex(0),
  13. bool animatedAppearance = true,
  14. LevelId? levelId = null,
  15. AnimationMode iconAnimationMode = AnimationMode.normal,
})

Implementation

const MarkerOptions({
  required this.position,
  required this.icon,
  this.iconMapDirection = null,
  this.anchor = const Anchor(x: 0.5, y: 0.5),
  this.text = null,
  this.textStyle = null,
  this.iconOpacity = const Opacity(1),
  this.visible = true,
  this.draggable = false,
  this.iconWidth = const LogicalPixel(0),
  this.userData = const {},
  this.zIndex = const ZIndex(0),
  this.animatedAppearance = true,
  this.levelId = null,
  this.iconAnimationMode = AnimationMode.normal
});