From 5adb3a6a8e1f680184a40018bf39fd3c5ab46219 Mon Sep 17 00:00:00 2001 From: tsauerwein Date: Wed, 2 Jul 2014 11:53:58 +0200 Subject: [PATCH] Export ol.source.Vector.clear() --- src/ol/source/vectorsource.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ol/source/vectorsource.js b/src/ol/source/vectorsource.js index fb9f2d841e..5b92bdddad 100644 --- a/src/ol/source/vectorsource.js +++ b/src/ol/source/vectorsource.js @@ -171,7 +171,8 @@ ol.source.Vector.prototype.addFeaturesInternal = function(features) { /** - * Clear the source + * Remove all features. + * @todo api */ ol.source.Vector.prototype.clear = function() { this.rBush_.forEach(this.removeFeatureInternal, this);