Hey Pierre, this section in the OpenLayers 2.13 release notes should help you with a solution: https://github.com/openlayers/openlayers/blob/master/notes/2.13.md#controlmodifyfeature-no-more-built-in-selectfeature-control .
Andreas. On Fri, Jul 12, 2013 at 12:14 PM, Pierre Giraud < pierre.gir...@camptocamp.com> wrote: > Hi all, > > > In the past, I was using a FeatureSelectionModel configured as the > following: > > new GeoExt.grid.FeatureSelectionModel({ > selectControl : modifyControl.selectControl > [...] > }),; > > Recently the code for ModifyFeature control has been changed [1] and > the above doesn't work anymore since ModifyFeature doesn't have a > selectControl property anymore. > > I know that "selectControl" property wasn't API so we were not > supposed to rely on it. It was a straigh way to modify a feature's > geometry by clicking in a row of a features grid though. > > Any advice on how to do the same with a recent OpenLayers code? > > [1] > https://github.com/openlayers/openlayers/commit/d2a32d542182fad943872928d0261671cfabf557#lib/OpenLayers/Control/ModifyFeature.js > > Thanks a lot, > Pierre > > -- > Pierre GIRAUD > Géomaticien, Analyste > > Camptocamp France SAS > Savoie Technolac, BP 352 > 73377 Le Bourget du Lac, Cedex > > Tel : 00 33 4 79 44 44 93 > Mail : pierre.gir...@camptocamp.com > http://www.camptocamp.com > _______________________________________________ > Dev mailing list > Dev@geoext.org > http://www.geoext.org/cgi-bin/mailman/listinfo/dev > -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers.
_______________________________________________ Dev mailing list Dev@geoext.org http://www.geoext.org/cgi-bin/mailman/listinfo/dev