[OpenLayers-Dev] DeleteFeature control

Alexandre Dube adube at mapgears.com
Tue Jul 21 12:27:47 EDT 2009


Eric Lemoine wrote:
> On Tuesday, July 21, 2009, Alexandre Dube <adube at mapgears.com> wrote:
>   
>> 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) ?
>>     
>
> why not using the regular
>
> var i, len, control;
> for(i = 0, len = controls.length; i < len; i++) {
>     control = controls[i];
> }
>
> ?
>
> (

It seems I like to complicate things.  I won't be able to work more on 
this this p.m. but as soon as I modify something I'll let you know.

BTW, do you know something about my 'this' problem ?

Many thanks,

-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Dev mailing list