CMapXLayer layer = m_ctrlMapX.GetLayers().Item("user");
layer.SetEditable(TRUE);
CMapXFeature fea;
CMapXFeatures features;
layer.SetEditable(TRUE);
CMapXFeature fea;
CMapXFeatures features;
do{
features=layer.AllFeatures();
fea =features.Item(1);
layer.DeleteFeature(fea);
}
while(layer.AllFeatures().GetCount()>0);
layer.Refresh();