BMFMarker constructor
- {@required BMFCoordinate position,
- @required String icon,
- String title,
- String subtitle,
- bool isLockedToScreen: false,
- BMFPoint screenPointToLock,
- String identifier,
- BMFPoint centerOffset,
- bool enabled3D,
- bool enabled: true,
- bool draggable: false,
- bool selected: false,
- bool canShowCallout: true,
- bool hidePaopaoWhenSingleTapOnMap: true,
- bool hidePaopaoWhenDoubleTapOnMap: false,
- bool hidePaopaoWhenTwoFingersTapOnMap: false,
- bool hidePaopaoWhenSelectOthers: true,
- bool hidePaopaoWhenDrag: false,
- bool hidePaopaoWhenDragOthers: false,
- int displayPriority: BMFMarkerDisplayPriority.Middle,
- double scaleX: 1.0,
- double scaleY: 1.0,
- double alpha: 1.0,
- bool isPerspective,
- int zIndex: 0,
- bool visible: true}
BMFMarker构造方法
Implementation
BMFMarker(
{@required this.position,
@required this.icon,
this.title,
this.subtitle,
this.isLockedToScreen: false,
this.screenPointToLock,
this.identifier,
this.centerOffset,
this.enabled3D,
this.enabled: true,
this.draggable: false,
this.selected: false,
this.canShowCallout: true,
this.hidePaopaoWhenSingleTapOnMap: true,
this.hidePaopaoWhenDoubleTapOnMap: false,
this.hidePaopaoWhenTwoFingersTapOnMap: false,
this.hidePaopaoWhenSelectOthers: true,
this.hidePaopaoWhenDrag: false,
this.hidePaopaoWhenDragOthers: false,
this.displayPriority: BMFMarkerDisplayPriority.Middle,
this.scaleX: 1.0,
this.scaleY: 1.0,
this.alpha: 1.0,
this.isPerspective,
int zIndex: 0,
bool visible: true})
: assert(position != null),
assert(icon != null),
super(zIndex: zIndex, visible: visible);