[OpenLayers-Dev] DeleteFeature control

Alexandre Dube adube at mapgears.com
Mon Jul 20 13:14:02 EDT 2009


Eric Lemoine wrote:
>
>
> so, to get to the delete control you've been working on, I see more
> value, in terms of flexibility, in adding "control composition" to the
> control base class.
>
>
>   

I also agree.  Originally, the control had a Feature handler instead of 
a SelectFeature control.  Looking at it now, it's too simple to be 
justified as a new control.

>>>
>>> About the 'controls' property and the act./dea. automatism : that's a good idea, but wouldn't it be good to have a 'handlers' property also and activate/deactivate all handlers as well ?  Currently, control has a 'handler' property only.  Would it make sense to have 'handlers' added a do the same kind of automatism as the new 'controls' property ?
>>>       
>
>
> Agreed.
>
>   

Great.


-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Dev mailing list