On Mon, Jan 11, 2010 at 3:22 PM, Bart van den Eijnden <bart...@osgis.nl> wrote:
> Hi list,
>
> I am failing to understand the following line in 
> OpenLayers.Control.GetFeature:
>
> maxFeatures: options.single == true ? this.maxFeatures : undefined,
>
> I would expect it to be:
>
> maxFeatures: options.single == true ? 1: this.maxFeatures,
>
> so if we only want a single feature, have it set to 1, otherwise use the 
> maxFeatures given by the application designer.

I'd make more sense to me too.


-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemo...@camptocamp.com
http://www.camptocamp.com
_______________________________________________
Dev mailing list
Dev@openlayers.org
http://openlayers.org/mailman/listinfo/dev

Reply via email to