1

I can add feature to my layeroverlay on mapguide API, but I don't know how to remove it. Can you help me find a method to remove a feature from a selection ?

This is how i add features to my layer :

MgFeatureReader featureReader = layer.SelectFeatures(queryOptions);
MgSelection mgSelection = new MgSelection(map);
mgSelection.AddFeatures(layer, featureReader, 0);
mgSelection.Save(resourceService, strMapName);
map.Save();

1 Answer 1

1

I've found my answer:

MgSelection mgSelection = new MgSelection(map);
mgSelection.Save(resourceService, strMapName);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.