GeoPoint
data class GeoPoint(val latitude: Double, val longitude: Double, val accuracyMeters: Float = 0.0f, val timestampMillis: Long = 0, val speedMetersPerSecond: Float = -1f, val courseDegrees: Double = -1.0, val altitudeMeters: Double = 0.0)
A platform-neutral geographic sample.
Parameters
speedMetersPerSecond
ground speed, or negative when unknown/invalid (matches CLLocation.speed's convention: -1 = invalid). Android's Location.speed is never negative, so it maps straight through.
courseDegrees
heading in [0, 360), or negative when unknown/invalid (matches CLLocation.course; Android's Location.bearing is never negative).
altitudeMeters
altitude above sea level, 0.0 when unknown.