Location

data class Location(val latitude: Double, val longitude: Double, val altitudeMeters: Double? = null, val mslAltitudeMeters: Double? = null, val accuracyMeters: Float? = null, val speedMetersPerSecond: Float? = null, val bearingDegrees: Float? = null, val timeMillis: Long)(source)

One location fix from the device. A reading the platform did not report is null, never zero: zero is a real altitude, speed and bearing.

Constructors

Link copied to clipboard
constructor(latitude: Double, longitude: Double, altitudeMeters: Double? = null, mslAltitudeMeters: Double? = null, accuracyMeters: Float? = null, speedMetersPerSecond: Float? = null, bearingDegrees: Float? = null, timeMillis: Long)

Properties

Link copied to clipboard
Link copied to clipboard

Height above the WGS84 ellipsoid.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Height above mean sea level, where the platform could derive it.

Link copied to clipboard
Link copied to clipboard

UTC epoch milliseconds.