From cd7bc2e4bf9bffa047184e3cbe3c6fdadecc08e2 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 5 Sep 2016 09:12:57 +0200 Subject: [PATCH] Remove unused removeExtentFeature_ function in ol.interaction.Extent --- src/ol/interaction/extent.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/ol/interaction/extent.js b/src/ol/interaction/extent.js index fc25d9e051..6c7fb2efad 100644 --- a/src/ol/interaction/extent.js +++ b/src/ol/interaction/extent.js @@ -424,17 +424,6 @@ ol.interaction.Extent.prototype.createOrUpdateExtentFeature_ = function(extent) return extentFeature; }; -/** - * @this {ol.interaction.Extent} - * @private - */ -ol.interaction.Extent.prototype.removeExtentFeature_ = function() { - var extentFeature = this.extentFeature_; - if (extentFeature) { - this.extentOverlay_.getSource().removeFeature(extentFeature); - this.extentFeature_ = null; - } -}; /** * @param {ol.Coordinate} vertex location of feature