Re: [OpenLayers-Users] OpenLayers.Control.ModifyFeature

2010-03-22 Thread mario1...@libero.it
I've already added them both to a Control.Panel this way: panel.addControls([popupControl, drawControls.path, drawControls.polygon, drawControls.modify ]); is it correct ? Have you got an example ? Thank you, Mario > mario1...@libero.it wro

Re: [OpenLayers-Users] OpenLayers.Control.ModifyFeature

2010-03-22 Thread Stephen Woodbridge
mario1...@libero.it wrote: > How can I deactivate the modify feature control when the select feature > control is activated ? > > Is there a way to force the modify feature control disactivation when the > other control is active ? > > Both controls operate on the same layer. You can add them

Re: [OpenLayers-Users] OpenLayers.Control.ModifyFeature

2010-03-22 Thread mario1...@libero.it
How can I deactivate the modify feature control when the select feature control is activated ? Is there a way to force the modify feature control disactivation when the other control is active ? Both controls operate on the same layer. Regards, Mario > On Friday, March 19, 2010, mario1

Re: [OpenLayers-Users] OpenLayers.Control.ModifyFeature

2010-03-22 Thread mario1...@libero.it
The problem is that when I activate the select feature control (popupControl), is executed first the modify feature control instead; only after the select feature control is activated. I need that when I call the select feature control, it must be activated the select feature control only and n

Re: [OpenLayers-Users] OpenLayers.Control.ModifyFeature

2010-03-21 Thread Eric Lemoine
On Friday, March 19, 2010, mario1...@libero.it wrote: > Hi, > I've got a problem with modify feature control. > It seems like onModificationStart event is call always before the other event > I've got on my application even if I recall the other event. Is there a way > to deactivate this control

[OpenLayers-Users] OpenLayers.Control.ModifyFeature

2010-03-19 Thread mario1...@libero.it
Hi, I've got a problem with modify feature control. It seems like onModificationStart event is call always before the other event I've got on my application even if I recall the other event. Is there a way to deactivate this control ? Here is a my code: modifyControls = { modify: new Ope