CameraPosition class

Android全部有效, iOS部分有效

Constructors

CameraPosition({LatLng target = const LatLng(39.8994731, 116.4142794), double zoom = 10, double tilt = 0, double bearing = 360})
const

Properties

bearing double
可视区域指向的方向,以角度为单位,从正北向逆时针方向计算,从0 度到360 度。 Android
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target LatLng
目标位置的屏幕中心点经纬度坐标。默认北京 Android, iOS
final
tilt double
目标可视区域的倾斜度,以角度为单位。 Android
final
zoom double
目标可视区域的缩放级别。 Android, iOS
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJsonString() String
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override