Hi,

  I'm going to work on my example today.  See below.

Eric Lemoine wrote:
> why not using the regular
>
> var i, len, control;
> for(i = 0, len = controls.length; i < len; i++) {
>     control = controls[i];
> }
>
> ?
>   

Right.  I just wondered if it could have been possible to have a {} 
instead of a [] for controls, like {"selectControl": new OL.C.SF(), 
"myCustomControl": new OL.C.Custom() } (like the handlers) instead of 
[new OL.C.SF, OL.C.Custom]...

I'll just go with [] then.  Thanks,

-- 
Alexandre Dubé
Mapgears
www.mapgears.com

_______________________________________________
Dev mailing list
Dev@openlayers.org
http://openlayers.org/mailman/listinfo/dev

Reply via email to