- Coords

Accuracy in meters.

[iOS] Altitude above sea-level in meters. [Android] The altitude of this location in meters above the WGS84 reference ellipsoid.

Altitude accuracy in meters.

If this location does not have `altitude_accuracy`

, then `-1`

is returned.

When this property contains 0 or a positive number, the value in the altitude property is plus or minus the specified number of meters. When this property contains a negative number, the value in the altitude property is invalid.

Determining the [altitudeAccuracy] requires a device with GPS capabilities. Thus, on some devices, this property always contains a negative value.

Android defines vertical accuracy at 68% confidence. Specifically, as 1-side of the 2-sided range above and below the estimated altitude reported by [altitude], within which there is a 68% probability of finding the true altitude.

In the case where the underlying distribution is assumed Gaussian normal, this would be considered 1 standard deviation.

For example, if [altitude] returns `150`

, and [verticalAccuracy] returns `20`

then there is a 68% probability of the true altitude being between `130`

and `170`

meters.

The altitude of this location in meters above the WGS84 reference ellipsoid.

**[iOS Only]** When the environment contains indoor-tracking hardware (eg: bluetooth beacons) the current floor within a building.

Heading in degrees.
⚠️ Note: Only present when location came from GPS. `-1`

otherwise.

Heading accuracy in degrees.
⚠️ Note: Only present when location came from GPS. `-1`

otherwise.

Latitude of the location.

Longitude of the location.

Speed in meters / second.
⚠️ Note: Only present when location came from GPS. `-1`

otherwise.

Speed accuracy in meters / second.
⚠️ Note: Only present when location came from GPS. `-1`

otherwise.

Generated using TypeDoc

This object is attached to instances of Location.coords.