Location Members

Contains the altitude and coordinate values of a location on the map.

The following tables list the members exposed by the Location type.

Public Constructors

  Name Description
Location Overloaded. Initializes a new instance of the Location structure.

Top

Public Fields

  Name Description
public fieldstatic MaxLatitude Specifies the maximum latitude in degrees.
public fieldstatic MaxLongitude Specifies the maximum longitude in degrees.
public fieldstatic MinLatitude Specifies the minimum latitude in degrees.
public fieldstatic MinLongitude Specifies the minimum longitude in degrees.

Top

Public Properties

  Name Description
public property Altitude Gets or sets altitude for a location.
public property AltitudeReference Gets or sets the reference plane used to measure the altitude.
public property Latitude Gets or sets the latitude of the location.
public property Longitude Gets or sets the longitude of the location.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals Overridden. Determines whether this location is the same as the given object.
public method GetHashCode Overridden. Retrieves the hash code for this location.
public method GetType  (inherited from Object)
public methodstatic NormalizeLongitude Converts an invalid longitude value to be within the valid range, which is -180 to 180.
public methodstatic Equality Determines whether two instances of Location are equal.
public methodstatic Inequality Determines whether two instances of Location are not equal.
public method ToString Overloaded. Overridden. Converts the location to a formatted string containing the latitude, longitude, and altitude values.

Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)

Top

See Also

Reference

Location Class
Microsoft.Maps.MapControl.WPF Namespace