CameraPosition class Null safety
视角位置
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
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- target ↔ LatLng
-
目标点坐标
read / write
- tilt ↔ double
-
倾斜度,以角度为单位,0-45
read / write
- zoom ↔ double
-
缩放等级
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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