bearingInDegrees property
The camera bearing in degrees.
Optional fixed bearing, from true North (0 degrees) in clockwise direction. The valid range
is [0, 360].
If set, it will prevent the map from rotating to the direction of travel. For example, a
value of zero results in "north up" mode.
Defaults to null, which means the camera derives the bearing from the Location,
so that it points to the direction of travel.
If this property is null and the device does not provide bearing, the last known value is
used or zero otherwise.
Gets the bearing in degrees.
Implementation
double? get bearingInDegrees;
The camera bearing in degrees.
Optional fixed bearing, from true North (0 degrees) in clockwise direction. The valid range
is [0, 360].
If set, it will prevent the map from rotating to the direction of travel. For example, a
value of zero results in "north up" mode.
Defaults to null, which means the camera derives the bearing from the Location,
so that it points to the direction of travel.
If this property is null and the device does not provide bearing, the last known value is
used or zero otherwise.
Sets the bearing in degrees.
Implementation
set bearingInDegrees(double? value);