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. [...]
read-only
target LatLng
目标位置的屏幕中心点经纬度坐标。默认北京 Android, iOS
final
tilt → double
目标可视区域的倾斜度,以角度为单位。 Android
final
zoom → double
目标可视区域的缩放级别。 Android, iOS
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
toJsonString() → String
toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

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