MarkerOption class

Marker创建参数

Annotations

Constructors

MarkerOption({@required LatLng latLng, String title = '', String snippet = '', Widget widget, bool draggable = false, bool infoWindowEnabled = true, bool visible = true, double rotateAngle = 0, double anchorU = 0.5, double anchorV = 0, String object, ImageProvider<Object> iconProvider})

Properties

anchorU double
横轴锚点
final
anchorV double
纵轴锚点
final
draggable bool
是否可拖动
final
hashCode int
The hash code for this object. [...]
read-only, inherited
iconProvider ImageProvider<Object>
图标
final
infoWindowEnabled bool
是否允许弹窗
final
latLng LatLng
经纬度
final
object String
自定义数据 理论上可以使用任何类型的数据, 但是为了减少意外情况, 这里一律转换成String来保存
final
rotateAngle double
旋转角度 单位为度(°)
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
snippet String
副标题
final
title String
标题
final
visible bool
是否可见
final
widget Widget
Widget形式的Marker [...]
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited