Remove unused removeExtentFeature_ function in ol.interaction.Extent

This commit is contained in:
Frederic Junod
2016-09-05 09:12:57 +02:00
parent d863cff28d
commit cd7bc2e4bf

View File

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