Solved with unselect for unselecting and modifyfeature standalone
-- Med venlig hilsen / Kind regards Tue Topholm Sugee Tlf: +45 32 13 32 32 W: http://www.sugee.dk 2011/7/12 Tue Topholm <t...@sugee.dk>: > I have this code: > > var select = new OpenLayers.Control.SelectFeature([wfs]); > map.addControl(select); > select.activate(); > > wfs.events.on({ > featureselected: function(event) { > > }, > featureunselected: function(e){}}); > > > How can I trigger the modifyfeature only on the selected feature, and > not the whole layer? > > And how can I trig the unselect feature, so it isn't selected anymore? > > I have tried looking at the docs, can't seem to find it. > > -- > > Med venlig hilsen / Kind regards > > Tue Topholm > Sugee > Tlf: +45 32 13 32 32 > W: http://www.sugee.dk > _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users