CameraPosition class
视角位置
Constructors
- CameraPosition({required LatLng target, required double tilt, required double zoom, required double bearing})
- 视角位置
-
CameraPosition.fromJson(Map<
String, dynamic> json)
Properties
- bearing ↔ double
-
指向的方向,以角度为单位,从正北向逆时针方向计算,0-360
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target ↔ LatLng
-
目标点坐标
getter/setter pair
- tilt ↔ double
-
倾斜度,以角度为单位,0-45
getter/setter pair
- zoom ↔ double
-
缩放等级
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited