removed duplicate definition of unselectAll. Thanks fredj for finding this one. r=tschaub (closes #2229)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9727 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2009-10-08 12:58:15 +00:00
parent fa324ec7f3
commit e13078b64a

View File

@@ -248,25 +248,6 @@ OpenLayers.Control.GetFeature = OpenLayers.Class(OpenLayers.Control, {
);
},
/**
* Method: unselectAll
* Unselect all selected features. To unselect all except for a single
* feature, set the options.except property to the feature.
*
* Parameters:
* options - {Object} Optional configuration object.
*/
unselectAll: function(options) {
// we'll want an option to supress notification here
var feature;
for(var i=this.features.length-1; i>=0; --i) {
feature = this.features[i];
if(!options || options.except != feature) {
this.unselect(feature);
}
}
},
/**
* Method: selectSingle
* Called on click