Coords¶
public structCoords
Geographic coordinates attached to a LocationEvent.
Members¶
accuracy¶
Horizontal accuracy radius in meters.
altitude¶
Altitude above a reference plane in meters.
iOS¶
Altitude above mean sea level.
Android¶
Altitude above the WGS84 reference ellipsoid. See also
ellipsoidal_altitude.
altitudeAccuracy¶
Vertical accuracy in meters. Returns -1 if unavailable.
iOS¶
When positive, the altitude value is within ±altitude_accuracy meters.
When negative, altitude is invalid. Determining altitude accuracy
requires a GPS-capable device; on some devices this value is always
negative.
Android¶
Defined as the 1-sigma vertical accuracy at 68% confidence — the
half-width of the range above and below altitude within which the true
altitude has a 68% probability of falling.
ellipsoidalAltitude¶
Altitude above the WGS84 reference ellipsoid in meters.
heading¶
Direction of travel in degrees (0–360, clockwise from true north).
Note
Only present when the location came from GPS. Returns -1 otherwise.
headingAccuracy¶
Heading accuracy in degrees.
Note
Only present when the location came from GPS. Returns -1 otherwise.
latitude¶
Latitude in decimal degrees.
longitude¶
Longitude in decimal degrees.
speed¶
Ground speed in meters per second.
Note
Only present when the location came from GPS. Returns -1 otherwise.
speedAccuracy¶
Speed accuracy in meters per second.
Note
Only present when the location came from GPS. Returns -1 otherwise.