Global Mapper SDK
GM_SetLayerElevationAttribute
Sets the name of the feature attribute to use for when determining the elevation of a feature. Provide an empty string to reset this to the default behavior which searches for any number of known elevation attributes and also checks the display name for elevation-based types, like contour lines and spot elevations.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_SetLayerElevationAttribute
(
GM_LayerHandle_t32 aLayer, // Layer to modify
const char* aAttrName, // Name of attribute to use for elevations
uint32 aReserved // Reserved value for future expansion (must be zero)
);