Unused getFeaturesByIds_ method

This commit is contained in:
Tim Schaub
2013-11-19 14:56:08 -07:00
parent 1877f92d46
commit 6229c0a1d4

View File

@@ -413,23 +413,6 @@ ol.source.FeatureCache.prototype.forEach =
};
/**
* Get features by ids.
* @param {Array.<string>} ids Array of (internal) identifiers.
* @return {Array.<ol.Feature>} Array of features.
* @private
*/
ol.source.FeatureCache.prototype.getFeaturesByIds_ = function(ids) {
var len = ids.length,
features = new Array(len),
i;
for (i = 0; i < len; ++i) {
features[i] = this.idLookup_[ids[i]];
}
return features;
};
/**
* Remove a feature from the cache.
* @param {ol.Feature} feature Feature.