diff --git a/src/ol/source/vectorsource.js b/src/ol/source/vectorsource.js index ec0085724f..07c14a1f97 100644 --- a/src/ol/source/vectorsource.js +++ b/src/ol/source/vectorsource.js @@ -413,23 +413,6 @@ ol.source.FeatureCache.prototype.forEach = }; -/** - * Get features by ids. - * @param {Array.} ids Array of (internal) identifiers. - * @return {Array.} 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.