At the same time, or switching the (active) layer of the control? Not possible right now unfortunately, you need 2 controls.
Best regards, Bart On Mar 11, 2010, at 2:57 PM, mario1...@libero.it wrote: > Hi, > is it possible to apply the modify feature control to more than one layer? > > In this case I have applied the control only to geometrylayer > > modify: new OpenLayers.Control.ModifyFeature(geometrylayer, {title:'Modifica > area/percorso', displayClass: 'modify'}) > > How can I appy the same control to another layer? > > Thank you for your help. > Regards, > > Mario > > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users