[OpenLayers-Dev] DeleteFeature control

Alexandre Dube adube at mapgears.com
Tue Jul 21 08:35:47 EDT 2009


Oh and by the way, here's what I did for the Control (attached).  Is it 
ok (too much, i.e. about the use of hasOwnProperty functions) ?

Thanks,

Alexandre

Alexandre Dube wrote:
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: control.patch
Type: text/x-diff
Size: 3115 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20090721/6a8402ec/control.bin


More information about the Dev mailing list