Geopoint.AltitudeReferenceSystem Property

Definition

The altitude reference system of the geographic point. GeoPoint will default to a value of unspecified when constructed without an altitude reference system. The behavior of an unspecified altitude reference system will depend on the API. A MapIcon will treat an unspecified reference system as Surface with an altitude value of 0 and the supplied value for altitude will be ignored.

C#
public AltitudeReferenceSystem AltitudeReferenceSystem { get; }

Property Value

The altitude reference system of the geographic point.

Implements

Windows requirements

App capabilities
location

Remarks

Note

The default altitude reference system that’s used to provide location data depends on the GPS/GNSS radio hardware. Most hardware will return coordinates using the Geoid reference system. To find out which one is being used by a Geopoint object, see the AltitudeReferenceSystem property. The Geoid reference system may not be what you want depending on your application. For example if passing the coordinates to a map control, you may instead want to snap the coordinate to the terrain.

Applies to

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100