Renaming the 'evaluate' method to 'applies'

This commit is contained in:
ahocevar
2013-03-02 12:50:53 +01:00
parent e23ca1655c
commit da7820121f
7 changed files with 19 additions and 19 deletions

View File

@@ -128,7 +128,7 @@ ol.source.FeatureCache.prototype.getFeaturesObject_ = function(opt_filter) {
features = {};
for (i in candidates) {
feature = candidates[i];
if (opt_filter.evaluate(feature) === true) {
if (opt_filter.applies(feature) === true) {
features[i] = feature;
}
}