globalmapper.SetFeatureLabel¶
- globalmapper.SetFeatureLabel(GM_LayerHandle_t32 aLayer, GM_FeatureClassType_t8 aFeatureClassType, uint32 aFeatureIndex, string aLabel) GM_Error_t32 [source]¶
Sets the display label for the given area, line, or point feature in the given layer.
- Parameters
aLayer (GM_LayerHandle_t32) – Layer the feature is in
aFeatureClassType (GM_FeatureClassType_t8) – Type of feature class (area, point, line)
aFeatureIndex (uint32) – Index of feature in layer
aLabel (str) – New display label for feature.
- Returns
Error Code
- Return type
GM_Error_t32