Replay vector batches for each world

This commit is contained in:
Andreas Hocevar
2015-04-16 14:08:16 +02:00
parent a948ed410e
commit a90a012e5d
4 changed files with 64 additions and 4 deletions

View File

@@ -146,6 +146,12 @@ ol.source.Vector = function(opt_options) {
this.addFeaturesInternal(options.features);
}
/**
* @type {boolean}
* @private
*/
this.wrapX_ = goog.isDef(options.wrapX) ? options.wrapX : true;
};
goog.inherits(ol.source.Vector, ol.source.Source);
@@ -564,6 +570,14 @@ ol.source.Vector.prototype.getFeatureById = function(id) {
};
/**
* @return {boolean}
*/
ol.source.Vector.prototype.getWrapX = function() {
return this.wrapX_;
};
/**
* @param {goog.events.Event} event Event.
* @private