Share via


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.

public:
 property AltitudeReferenceSystem AltitudeReferenceSystem { AltitudeReferenceSystem get(); };
AltitudeReferenceSystem AltitudeReferenceSystem();
public AltitudeReferenceSystem AltitudeReferenceSystem { get; }
var altitudeReferenceSystem = geopoint.altitudeReferenceSystem;
Public ReadOnly Property AltitudeReferenceSystem As AltitudeReferenceSystem

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