How to delete feature?

mg.srikanthmg.srikanth Global Mapper UserPosts: 27
edited November 2012 in SDK
Hi,

I am adding line feature to a vector layer as an when required. I am disabling it and adding new line. Is there any facility to delete added feature totally from the vector layer?

Srikanth.

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited November 2012
    You can only completely delete a feature by closing the layer it is in. However if you are always deleting a line then replacing it with a new one, rather than mark the original as deleted you could just modify that one. For example use GM_SetLineFeaturePointList to change the vertices, GM_SetLineFeatureDrawStyle to change the style, and GM_SetFeatureAttrList to change the attribute list, among others.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
Sign In or Register to comment.