Global Mapper SDK
GM_SetLayerLabelAttribute
Sets the name of the feature attribute to use for the display label for features that don't already have a display label.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_SetLayerLabelAttribute
(
GM_LayerHandle_t32 aLayer, // Layer to modify labels for
const char* aAttrName, // Name of attribute to use for naming labels
uint32 aReserved // Reserved value for future expansion (must be zero)
);