Geopoint.AltitudeReferenceSystem Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Requirements | Description |
|---|---|
| App capabilities |
___location
|
Remarks
Note
The default altitude reference system used to provide ___location data depends on the GNSS hardware. Most hardware returns coordinates using the Geoid reference system. To find out which one is being used by a Geopoint, 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.