Pass on opt_fast to parent clear function in ol.source.ServerVector
This commit is contained in:
1 parent
f75cec5c8e
commit
80f7b726f9
1 file changed
+3
-2
@@ -82,11 +82,12 @@ ol.source.ServerVector.prototype.addFeaturesInternal = function(features) {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @api stable
|
||||
*/
|
||||
ol.source.ServerVector.prototype.clear = function() {
|
||||
ol.source.ServerVector.prototype.clear = function(opt_fast) {
|
||||
goog.object.clear(this.loadedFeatures_);
|
||||
this.loadedExtents_.clear();
|
||||
goog.base(this, 'clear');
|
||||
goog.base(this, 'clear', opt_fast);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user