SetLayerLabelAttribute

globalmapper.SetLayerLabelAttribute(GM_LayerHandle_t32 aLayer, str aAttrName, uint32 aReserved=0) GM_Error_t32[source]

Sets the name of the feature attribute to use for the display label for features that don’t already have a display label.

Parameters:
  • aLayer (GM_LayerHandle_t32) – Layer to modify labels for

  • aAttrName (str) – Name of attribute to use for naming labels

  • aReserved (uint32) – Reserved value for future expansion (defaults to zero)

Returns:

Error Code

Return type:

GM_Error_t32