Position
Namespace: Wisej.Ext.Geolocation
Assembly: Wisej.Ext.Geolocation (4.1.0.0)
Represents the position of the concerned device at a given time. The position, represented by a Coordinates object, comprehends the 2D position of the device, on a spheroid representing the Earth, but also its altitude and its speed.
- C#
- VB.NET
public class Position
Public Class Position
Properties
Accuracy
Double: Returns a double representing the accuracy of the latitude and longitude properties, expressed in meters.
Altitude
Double: Returns a double representing the position's altitude in meters, relative to sea level.
This value can be NaN if the implementation cannot provide the data.
AltitudeAccuracy
Double: Returns a double representing the accuracy of the altitude expressed in meters. This value can be NaN.
ErrorMessage
String: Returns the error message returned by the client or null.
Heading
Double: Returns a double representing the direction in which the device is traveling.
This value, specified in degrees, indicates how far off from heading true north the device is. 0 degrees represents true north, and the direction is determined clockwise (which means that east is 90 degrees and west is 270 degrees). If speed is 0, heading is NaN. If the device is unable to provide heading information, this value is NaN.
Latitude
Double: Returns a double representing the position's latitude in decimal degrees.
Longitude
Double: Returns a double representing the position's longitude in decimal degrees.
Speed
Double: Returns a double representing the velocity of the device in meters per second. This value can be NaN.
Status
StatusCode: Returns the status of the position object.
TimeStamp
DateTime: Returns the time at which the position was retrieved.