Remove unused method

This commit is contained in:
Tim Schaub
2013-11-15 13:38:33 -07:00
parent 01a0b9ff8d
commit 307e425891

View File

@@ -304,16 +304,6 @@ ol.source.Vector.prototype.handleIntentChange_ = function(evt) {
};
/**
* Remove all features from the layer.
*/
ol.source.Vector.prototype.clear = function() {
this.featureCache_.clear();
this.dispatchEvent(
new ol.source.VectorEvent(ol.source.VectorEventType.REMOVE, [], []));
};
/**
* @param {ol.Extent} extent Extent that needs to be fetched.
* @param {ol.proj.Projection} projection Projection of the view.