MarkerOptions constructor
MarkerOptions({
- required LatLng? position,
- String? icon,
- List? icons = const [],
- num? alpha = 1,
- num? anchorU = 0.5,
- num? anchorV = 1,
- bool? draggable = false,
- bool? infoWindowEnable = true,
- num? period = 20,
- num? rotateAngle = 0,
- bool? isFlat = false,
- bool? isGps = false,
- num? infoWindowOffsetX = 0,
- num? infoWindowOffsetY = 0,
- String? snippet = '',
- String? title = '',
- bool? visible = true,
- bool? autoOverturnInfoWindow = false,
- num? zIndex = 0,
- num? displayLevel = 0,
- bool? belowMaskLayer = false,
- bool? lockedToScreen = false,
- String? lockedScreenPoint,
- String? customCalloutView,
- bool? enabled = true,
- bool? highlighted = false,
- bool? selected = false,
- String? leftCalloutAccessoryView,
- String? rightCalloutAccessoryView,
- bool? haveBubble = false,
- bool? haveAddressLabel = false,
- String? bubbleContent = '正在加载',
- String? addressLabelContent = '地址信息',
TODO
Implementation
MarkerOptions(
{required this.position,
this.icon,
this.icons = const [],
this.alpha = 1,
this.anchorU = 0.5,
this.anchorV = 1,
this.draggable = false,
this.infoWindowEnable = true,
this.period = 20,
this.rotateAngle = 0,
this.isFlat = false,
this.isGps = false,
this.infoWindowOffsetX = 0,
this.infoWindowOffsetY = 0,
this.snippet = '',
this.title = '',
this.visible = true,
this.autoOverturnInfoWindow = false,
this.zIndex = 0,
this.displayLevel = 0,
this.belowMaskLayer = false,
this.lockedToScreen = false,
this.lockedScreenPoint,
this.customCalloutView,
this.enabled = true,
this.highlighted = false,
this.selected = false,
this.leftCalloutAccessoryView,
this.rightCalloutAccessoryView,
this.haveBubble = false,
this.haveAddressLabel = false,
this.bubbleContent = '正在加载',
this.addressLabelContent = '地址信息'});