Re: [OpenLayers-Users] single line modify

2010-01-15 Thread Alexandre Dube
Wendell, I have the same issue when doing this. I'll start an other thread about this. Regards, Alexandre Wendell Turner wrote: > Alexandre, > > Thank you. That works fine. The only side-effect is that > clicking away from the line doesn't de-activate it. To > de-activate it you need to

Re: [OpenLayers-Users] single line modify

2010-01-15 Thread Wendell Turner
Alexandre, Thank you. That works fine. The only side-effect is that clicking away from the line doesn't de-activate it. To de-activate it you need to click on the navigate icon. Wendell On Fri, Jan 15, 2010 at 08:38:22AM -0500, Alexandre Dube wrote: > Wendell, > > You could register a "activ

Re: [OpenLayers-Users] single line modify

2010-01-15 Thread Alexandre Dube
Wendell, You could register a "activate" event on your ModifyFeature control to select the first feature of the layer as soon as it gets activated. Something like the following (untested) : yourModifyFeatureControl.events.on({ "activate": onModifyControlActivate, scope: yourModifyFeatureControl

[OpenLayers-Users] single line modify

2010-01-14 Thread Wendell Turner
What is the function that, when editing, activates a line segment? On my map I have the modify/navigate functions working fine. When you click on the modify icon, you must then click on the line segment so it turns colors & has move boxes on it. I only have one line segment drawn, and would like t