Position class

@ingroup navigine_dart_classes @ingroup navigine_dart_secondary_classes

@brief Class describing user's position.

Referenced from: @see NavigationManager "NavigationManager", @see PositionListener "PositionListener".

Constructors

Position(GlobalPoint point, double accuracy, double? heading, double? headingAccuracy, LocationPoint? locationPoint, double? locationHeading)
@brief Default constructor

Properties

accuracy double
Position accuracy in meters
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heading double?
@brief 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.
getter/setter pair
headingAccuracy double?
@brief Heading accuracy in radians
getter/setter pair
locationHeading double?
@brief Similiar to heading but with respect to sublocation north (top of the image)
getter/setter pair
locationPoint LocationPoint?
@brief position in metrics coordinates at calculated location and sublocation @see LocationPoint
getter/setter pair
point GlobalPoint
@brief position in WGS84 coordinates.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
inherited