Global Mapper SDK
GM_SetFeatureLabel
Sets the display label for the given area, line, or point feature in the given layer.
Syntax
C++
Copy
GM_Error_t32 __stdcall GM_SetFeatureLabel
(
GM_LayerHandle_t32 aLayer, // IN: Layer the feature is in
GM_FeatureClassType_t8 aFeatureClassType, // IN: Type of feature class (area, point, line)
uint32 aFeatureIndex, // IN: Index of feature in layer
const char* aLabel // IN: New display label for feature.
)