Jani Tiainen wrote: > I'm trying to achieve "select by code" and "start modify" functionality > to my OL webapp. >
You may want to have a look at the new standalone option of the ModifyFeature control (in OpenLayers trunk). If set to true, you can just do modifyControl.selectFeature(yourFeature); and you can start editing the feature. Regards, Andreas. > I've form that user selects on feature to be editable, clicks "edit" and > then OL vector layer should be in "edit mode". When done editing changes > are just saved with simply clicking "save" button on a same form. > > I haven't been succesful with modifying existing tools. It seems that > they require always that feature is selected from vector layer (with > mouse) before any modification happen and then modification ends by > clicking outside of element. > > Is there simple way to achieve something I'm looking for or do I need to > develop set of own tools to get wanted functionality? > > -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
