GeoCoordinate Class
March 22, 2012
Represents a location expressed as a geographic coordinate. The values exposed by this class use the WGS 84 standard.
Namespace:
System.Device.Location
Assembly: System.Device (in System.Device.dll)
XMLNS for XAML: Not mapped to an xmlns.
The GeoCoordinate type exposes the following members.
| Name | Description | |
|---|---|---|
|
GeoCoordinate() | Initializes a new instance of the GeoCoordinate class where the value of each field is not a number. |
|
GeoCoordinate(Double, Double) | Initializes a new instance of the GeoCoordinate class with the provided latitude and longitude. |
|
GeoCoordinate(Double, Double, Double) | Initializes a new instance of the GeoCoordinate class with the provided latitude, longitude, and altitude. |
|
GeoCoordinate(Double, Double, Double, Double, Double, Double, Double) | Initializes a new instance of the GeoCoordinate class with the provided latitude, longitude, altitude, accuracy, speed, and course. |
| Name | Description | |
|---|---|---|
|
Altitude | Gets or sets the altitude of the GeoCoordinate in meters. |
|
Course | Gets or sets the heading in degrees, relative to true north. GeoCoordinate. |
|
HorizontalAccuracy | Gets or sets the horizontal accuracy of the GeoCoordinate, in meters. |
|
IsUnknown | Gets a value indicating whether the GeoCoordinate contains any geographic coordinate data. |
|
Latitude | Gets or sets the latitude of the GeoCoordinate. |
|
Longitude | Gets or sets the longitude of the GeoCoordinate. |
|
Speed | Gets the speed of the GeoCoordinate in meters per second. |
|
VerticalAccuracy | Gets or sets the vertical accuracy of the GeoCoordinate, in meters. |
| Name | Description | |
|---|---|---|
|
Equals(Object) | Determines whether the specified object is a GeoCoordinate that has the same latitude and longitude values as this one. (Overrides Object.Equals(Object).) |
|
Equals(GeoCoordinate) | Determines whether the specified GeoCoordinate has the same latitude and longitude values as this one. |
|
Finalize | (Inherited from Object.) |
|
GetDistanceTo | Returns the calculated distance, in meters, from the current GeoCoordinate to the provided GeoCoordinate. |
|
GetHashCode | Returns a hash code for this instance. (Overrides Object.GetHashCode().) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | Returns a string representation of the current GeoCoordinate. (Overrides Object.ToString().) |
| Name | Description | |
|---|---|---|
|
Equality | Determines whether two GeoCoordinate objects are equal. |
|
Inequality | Determines whether two GeoCoordinate objects are not equal. |