Hi, thanks for your reply!

Code:           
                 function cmd_Poly_add() {
                        var features = wfs_polygon.selectedFeatures;
                        wfs_polygon.removeFeatures(features);
                        features.geometry = new
OpenLayers.Geometry.MultiLineString(features.geometry);
                        features.state = OpenLayers.State.INSERT;
                        wfs_mpolygon.addFeatures(features);
                }

When I call the function the chosen featurers disappear, but don't appear on
the other layer (wfs_mpolygon). When the save strategy is called (WFS-data
viewed with FireBug), there appear neither inserted, updated nor deleted
features (XML POST/GET).

Kind regards,
vGIS



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Move-selected-Features-to-another-geometry-layer-tp5003226p5003233.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