[OpenLayers-Dev] GetFeature control question
Bart van den Eijnden
bartvde at osgis.nl
Mon Jan 11 09:22:29 EST 2010
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
More information about the Dev
mailing list