Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.41 KB

altitudereferencesystem-enumeration.md

File metadata and controls

63 lines (43 loc) · 1.41 KB
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

AltitudeReferenceSystem Enumeration

[!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
}

Values

Unspecified

The altitude value has no meaning.

Terrain

The altitude value is relative to the terrain (not including surface objects like trees and buildings).

Ellipsoid

The altitude value is relative to the WGS84 ellipsoid.

Geoid

The altitude value is relative to sea level.

Surface

The altitude value is relative to the surface (including objects like buildings that are on top of the terrain).

See Also

Geopoint