diff --git a/src/ol/layer/vectorlayer.js b/src/ol/layer/vectorlayer.js index ffcbb8a634..ef52bd674d 100644 --- a/src/ol/layer/vectorlayer.js +++ b/src/ol/layer/vectorlayer.js @@ -103,16 +103,6 @@ ol.layer.FeatureCache.prototype.getFeaturesByIds_ = function(ids) { }; -/** - * @param {string} uid Feature uid. - * @return {ol.Feature|undefined} The feature with the provided uid if it is in - * the cache, otherwise undefined. - */ -ol.layer.FeatureCache.prototype.getFeatureWithUid = function(uid) { - return this.idLookup_[uid]; -}; - - /** * Remove a feature from the cache. * @param {ol.Feature} feature Feature. @@ -366,16 +356,6 @@ ol.layer.Vector.prototype.groupFeaturesBySymbolizerLiteral = }; -/** - * @param {string|number} uid Feature uid. - * @return {ol.Feature|undefined} The feature with the provided uid if it is on - * the layer, otherwise undefined. - */ -ol.layer.Vector.prototype.getFeatureWithUid = function(uid) { - return this.featureCache_.getFeatureWithUid(/** @type {string} */ (uid)); -}; - - /** * @param {Object|Element|Document|string} data Feature data. * @param {ol.parser.Parser} parser Feature parser.