[OpenLayers-Users] Modify feature control

Bart van den Eijnden bartvde at osgis.nl
Thu Mar 11 09:00:39 EST 2010


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, mario1982 at 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 at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 




More information about the Users mailing list