Click or drag to resize

GM_DeleteFeature

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.

Syntax
GM_Error_t32 GM_DeleteFeature
(
GM_LayerHandle_t32      aLayer,             // IN: Layer the point is in
GM_FeatureClassType_t8  aFeatureClassType,  // IN: Type of feature class (area, point, line)
uint32                  aFeatureIndex,      // IN: Index of feature in layer
boolean                 aDelete             // IN: Use TRUE to mark as deleted, FALSE to clear delete flag
);