From 307e425891a15c5c09603d74dc4beaf22b47f1da Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 15 Nov 2013 13:38:33 -0700 Subject: [PATCH] Remove unused method --- src/ol/source/vectorsource.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/ol/source/vectorsource.js b/src/ol/source/vectorsource.js index 2303f735a3..0d5d91a45f 100644 --- a/src/ol/source/vectorsource.js +++ b/src/ol/source/vectorsource.js @@ -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.