Removing no longer used getFeatureWithUid method
This commit is contained in:
@@ -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.
|
* Remove a feature from the cache.
|
||||||
* @param {ol.Feature} feature Feature.
|
* @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 {Object|Element|Document|string} data Feature data.
|
||||||
* @param {ol.parser.Parser} parser Feature parser.
|
* @param {ol.parser.Parser} parser Feature parser.
|
||||||
|
|||||||
Reference in New Issue
Block a user