Hi Petr, find comments inline.
On 04.08.2011 09:46, voldapet wrote: > Hi, > > I’m facing this issue: I have something as choropleth thematic map – set of > polygons with some data. Using WFS-T (postgis – geoserver – openlayers) I am > able to edit geometry of polygons – this works fine. > My polygons looks like state borders – have shared border vertexes. When I > edit geometry some polygon (ex. move vertexes using modifyFeature), I need > to affect the geometry of neighbor polygon. There shouldn't be holes or > overlaps. > > Is it possible to do it? Not out of the box, I fear. But you could listen for the "vertexmodified" / "vertexremoved" events of the vector layer and programmatically edit the nearby vectors, see here for an example: http://www.openlayers.org/dev/examples/editing-methods.html I'd be very interested in the outcome of this approach. Best regards, Marc > Thanks > Regards Petr > > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/Edit-vertexes-of-neighbor-polygon-tp6651716p6651716.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 > _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
