GeoOrientationUpdate class - core library - Dart API
GeoOrientationUpdate
GeoOrientationUpdate class
Describes geodetic orientation update with bearing and tilt.
Updating an orientation value can be skipped by setting null in an appriopriate field.
For example, if one wants bearing not to be updated set it to null.
- Annotations
Constructors
- GeoOrientationUpdate(double? bearing, double? tilt)
-
bearingBearing in degrees. When the passed value isnullbearing is not updated and the current value is kept. NaN value is converted tonull.tiltTilt in degrees. When the passed value isnulltilt is not updated and the current value is kept. NaN value is converted tonull.factory - GeoOrientationUpdate.withGeoOrientation(GeoOrientation orientation)
-
Constructs a new GeoOrientationUpdate instance from a GeoOrientation instance.
factory
Properties
- bearing → double?
-
Bearing in degrees. 0 is north up, positive is clockwise.
A
nullvalue means that bearing is not updated and the current value is kept.final - hashCode → int
-
The hash code for this object.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tilt → double?
-
Tilt in degrees. 0 is perpendicular to earth surface, a positive value turns the camera's nose up
and changes the camera's location to ensure that the camera target is not changed.
A
nullvalue means that tilt is not updated and the current value is kept.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool - The equality operator.