Global Mapper SDK
GM_SetFeatureDescription
Sets the description for the given area, line, or point feature in the given layer. Pass in NULL for the description to reset to the original description for the feature (typically the feature classification).
Syntax
C++
Copy
GM_Error_t32 __stdcall GM_SetFeatureDescription
(
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* aDesc // IN: New description for feature (NULL to reset to default)
)