This topic has not yet been rated - Rate this topic

GeoCoordinate Class

July 26, 2012

Represents a location expressed as a geographic coordinate. The values exposed by this class use the WGS 84 standard.

System.Object
  System.Device.Location.GeoCoordinate

Namespace:  System.Device.Location
Assembly:  System.Device (in System.Device.dll)
XMLNS for XAML: Not mapped to an xmlns.
public class GeoCoordinate : IEquatable<GeoCoordinate>
<GeoCoordinate .../>

The GeoCoordinate type exposes the following members.

  NameDescription
Public methodGeoCoordinate()Initializes a new instance of the GeoCoordinate class where the value of each field is not a number.
Public methodGeoCoordinate(Double, Double)Initializes a new instance of the GeoCoordinate class with the provided latitude and longitude.
Public methodGeoCoordinate(Double, Double, Double)Initializes a new instance of the GeoCoordinate class with the provided latitude, longitude, and altitude.
Public methodGeoCoordinate(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.
Top
  NameDescription
Public propertyAltitudeGets or sets the altitude of the GeoCoordinate in meters.
Public propertyCourseGets or sets the heading in degrees, relative to true north. GeoCoordinate.
Public propertyHorizontalAccuracyGets or sets the horizontal accuracy of the GeoCoordinate, in meters.
Public propertyIsUnknownGets a value indicating whether the GeoCoordinate contains any geographic coordinate data.
Public propertyLatitudeGets or sets the latitude of the GeoCoordinate.
Public propertyLongitudeGets or sets the longitude of the GeoCoordinate.
Public propertySpeedGets the speed of the GeoCoordinate in meters per second.
Public propertyVerticalAccuracyGets or sets the vertical accuracy of the GeoCoordinate, in meters.
Top
  NameDescription
Public methodEquals(Object)Determines whether the specified object is a GeoCoordinate that has the same latitude and longitude values as this one. (Overrides Object.Equals(Object).)
Public methodEquals(GeoCoordinate)Determines whether the specified GeoCoordinate has the same latitude and longitude values as this one.
Protected methodFinalize (Inherited from Object.)
Public methodGetDistanceToReturns the calculated distance, in meters, from the current GeoCoordinate to the provided GeoCoordinate.
Public methodGetHashCodeReturns a hash code for this instance. (Overrides Object.GetHashCode().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string representation of the current GeoCoordinate. (Overrides Object.ToString().)
Top
  NameDescription
Public operatorStatic memberEqualityDetermines whether two GeoCoordinate objects are equal.
Public operatorStatic memberInequalityDetermines whether two GeoCoordinate objects are not equal.
Top
  NameDescription
Public fieldStatic memberUnknownRepresents a GeoCoordinate that contains no data.
Top

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.