title | description | ms.author |
---|---|---|
AltitudeReferenceSystem Enumeration | Microsoft Docs |
Describes the AltitudeReferenceSystem enumeration and provides how values will appear on Android iOS systems, and provides additional value types. |
pablocan |
[!INCLUDE bing-maps-sdk-for-android-iOS-retirement]
An altitude reference system to indicate what an altitude value is relative to.
Android
enum AltitudeReferenceSystem { UNSPECIFIED, TERRAIN, ELLIPSOID, GEOID, SURFACE }
iOS
typedef NS_ENUM(NSInteger, MSMapAltitudeReferenceSystem) { MSMapAltitudeReferenceSystemUnspecified = 0, MSMapAltitudeReferenceSystemTerrain = 1, MSMapAltitudeReferenceSystemEllipsoid = 2, MSMapAltitudeReferenceSystemGeoid = 3, MSMapAltitudeReferenceSystemSurface = 4 }
The altitude value has no meaning.
The altitude value is relative to the terrain (not including surface objects like trees and buildings).
The altitude value is relative to the WGS84 ellipsoid.
The altitude value is relative to sea level.
The altitude value is relative to the surface (including objects like buildings that are on top of the terrain).