Removing no longer used getFeatureWithUid method

This commit is contained in:
ahocevar
2013-11-09 14:44:40 +01:00
parent d9fd459654
commit 97d38820fb

View File

@@ -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.