Thanks for your hinit, made some mod on the demo code, and this works for me:

                         for (f in MPolyFeature) {
                                if(MPolyFeature[f].fid == undefined) {
                                        
wfs_mpolygon.destroyFeatures([MPolyFeature[f]]);
                                } else {
                                        MPolyFeature[f].state = 
OpenLayers.State.DELETE;
                                        
wfs_mpolygon.events.triggerEvent("afterfeaturemodified", {MPolyFeature:
MPolyFeature[f]});
                                        MPolyFeature[f].renderIntent = "select";
                                        wfs_mpolygon.drawFeature(MPolyFeature);
                                }
                        }

Kind regards & thanks for the help,
vGIS



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Cannot-delete-MultiPolygons-completely-tp5004085p5004275.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to