globalmapper.DeleteFeature ========================== .. currentmodule:: globalmapper .. py:function:: DeleteFeature (GM_LayerHandle_t32 aLayer, GM_FeatureClassType_t8 aFeatureClassType, uint32 aFeatureIndex, bool aDelete) -> GM_Error_t32 Changes the delete status of the area, line, or point feature at the given index in the layer. Note that "deleting" a feature doesn't actually free it or remove it from the list of features for a layer, it just marks it as deleted and makes it inactive for the purposes of drawing. To re-activate a feature that has been marked as deleted, simply call this with the *aDelete* value set to FALSE. :param GM_LayerHandle_t32 aLayer: Layer the point is in :param GM_FeatureClassType_t8 aFeatureClassType: Type of feature class (area, point, line) :param uint32 aFeatureIndex: Index of feature in layer :param bool aDelete: Use TRUE to mark as deleted, FALSE to clear delete flag :returns: Error Code :rtype: GM_Error_t32