Class describing user's position. More...
Public Member Functions | |
| Position (this.point, this.accuracy, this.heading, this.headingAccuracy, this.locationPoint, this.locationHeading) | |
| Default constructor. | |
Public Attributes | |
| GlobalPoint | point |
| position in WGS84 coordinates. | |
| double | accuracy |
| double | heading |
| Heading, angle of rotation about the -Z axis (in radians). This value represents the angle between the device's Y axis and the magnetic north pole. When facing north, this angle is 0, when facing south, this angle is pi. Likewise, when facing east, this angle is pi/2, and when facing west, this angle is -pi/2. The range of values is [-pi, pi]. | |
| double | headingAccuracy |
| Heading accuracy in radians. | |
| LocationPoint | locationPoint |
| position in metrics coordinates at calculated location and sublocation LocationPoint | |
| double | locationHeading |
Similiar to heading but with respect to sublocation north (top of the image) | |
Class describing user's position.
Referenced from: NavigationManager, PositionListener.
Definition at line 21 of file position.dart.
| Position.Position | ( | this. | point, |
| this. | accuracy, | ||
| this. | heading, | ||
| this. | headingAccuracy, | ||
| this. | locationPoint, | ||
| this. | locationHeading ) |
Default constructor.
| double Position.accuracy |
Position accuracy in meters
Dart code snippet:
Definition at line 43 of file position.dart.
| double Position.heading |
Heading, angle of rotation about the -Z axis (in radians). This value represents the angle between the device's Y axis and the magnetic north pole. When facing north, this angle is 0, when facing south, this angle is pi. Likewise, when facing east, this angle is pi/2, and when facing west, this angle is -pi/2. The range of values is [-pi, pi].
Dart code snippet:
Definition at line 59 of file position.dart.
| double Position.headingAccuracy |
Heading accuracy in radians.
Dart code snippet:
Definition at line 69 of file position.dart.
| double Position.locationHeading |
Similiar to heading but with respect to sublocation north (top of the image)
Dart code snippet:
Definition at line 89 of file position.dart.
| LocationPoint Position.locationPoint |
position in metrics coordinates at calculated location and sublocation LocationPoint
Dart code snippet:
Definition at line 79 of file position.dart.
| GlobalPoint Position.point |
position in WGS84 coordinates.
Dart code snippet:
Definition at line 33 of file position.dart.