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