SetFeatureLabel =============== .. currentmodule:: globalmapper .. py:function:: SetFeatureLabel (GM_LayerHandle_t32 aLayer, GM_FeatureClassType_t8 aFeatureClassType, uint32 aFeatureIndex, string aLabel) -> GM_Error_t32 Sets the display label for the given area, line, or point feature in the given layer. :param GM_LayerHandle_t32 aLayer: Layer the feature is in :param GM_FeatureClassType_t8 aFeatureClassType: Type of feature class (area, point, line) :param uint32 aFeatureIndex: Index of feature in layer :param str aLabel: New display label for feature. :returns: Error Code :rtype: GM_Error_t32 Example ------- The following is an example of SetFeatureLabel.:: gm.SetFeatureLabel(layer_arr[0], gm.GM_FeatureClass_Line, i, "Burlington Northern Railroad") For more context refer to :doc:`the tutorial page on full example scripts<../sampleCode/DemoMisc>`.