Geocoordinate.Altitude | altitude property

Applies to Windows and Windows Phone

[Altitude may be altered or unavailable after Windows 8.1 and Windows Phone 8.1. Instead, use Geocoordinate.Point.]

The altitude of the location, in meters.

Syntax


var altitude = geocoordinate.altitude;

Property value

Type: IReference<Double> [JavaScript/C++] | System.Nullable<Double> [.NET]

The altitude in meters.

Remarks

It is optional for a location provider to set this property. If the property is not provided, the value will be NULL. The Windows Location Provider does not set this property.

Requirements

Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

End of client support

Windows 8.1

Namespace

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

Metadata

Windows.winmd

Capabilities

location
ID_CAP_LOCATION [Windows Phone]

See also

Geocoordinate

 

 

Show:
© 2014 Microsoft