Export ol.source.Vector.clear()

This commit is contained in:
tsauerwein
2014-07-02 11:53:58 +02:00
parent 242787da45
commit 5adb3a6a8e

View File

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