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.

Best regards,
Bart
_______________________________________________
Dev mailing list
Dev@openlayers.org
http://openlayers.org/mailman/listinfo/dev

Reply via email to