CameraPosition class

Constructors

CameraPosition({double bearing: 0.0, @required LatLng target, double tilt: 0.0, double zoom: 10})
构造一个CameraPosition 对象 [...]
const

Properties

bearing double
可视区域指向的方向,以角度为单位,从正北向逆时针方向计算,从0 度到360 度。
final
hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
target → LatLng
目标位置的屏幕中心点经纬度坐标。
final
tilt double
目标可视区域的倾斜度,以角度为单位。范围从0到360度
final
zoom double
目标可视区域的缩放级别
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() → dynamic
CameraPosition装换成Map [...]
toString() String
Returns a string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator. [...]
override

Static Methods

fromMap(dynamic json) CameraPosition
从Map转换成CameraPosition [...]