[OpenLayers-Dev] DeleteFeature control
Alexandre Dube
adube at mapgears.com
Wed Jul 22 08:01:15 EDT 2009
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
More information about the Dev
mailing list