Represents an object that contains attributes about a location.
Name | Type | Description |
|---|---|---|
latitude | double? | Latitude, in degrees. |
longitude | double? | Longitude, in degrees. |
altitude | double? | Altitude if available, in meters above the WGS 84 reference ellipsoid. |
speed | double? | Speed if available, in meters/second over ground. |
bearing | double? | Bearing, in degrees. |
accuracy | double? | Estimated horizontal accuracy of this location, radial, in meters. |
verticalAccuracyMeters | double? | Estimated vertical accuracy of this location, in meters. |
bearingAccuracyDegrees | double? | Estimated bearing accuracy of this location, in degrees. |
speedAccuracyMetersPerSecond | double? | Estimated speed accuracy of this location, in meters per second. |
time | int? | Time in milliseconds since January 1, 1970. |
fromMockProvider | bool? | Location provider status. |
Creates a Location object.
Parameter | Type | Description |
|---|---|---|
latitude | double? | Latitude, in degrees. |
longitude | double? | Longitude, in degrees. |
altitude | double? | Altitude if available, in meters above the WGS 84 reference ellipsoid. |
speed | double? | Speed if available, in meters/second over ground. |
bearing | double? | Bearing, in degrees. |
accuracy | double? | Estimated horizontal accuracy of this location, radial, in meters. |
verticalAccuracyMeters | double? | Estimated vertical accuracy of this location, in meters. |
bearingAccuracyDegrees | double? | Estimated bearing accuracy of this location, in degrees. |
speedAccuracyMetersPerSecond | double? | Estimated speed accuracy of this location, in meters per second. |
time | int? | Time in milliseconds since January 1, 1970. |
fromMockProvider | bool? | Location provider status. |