Merge pull request #5196 from ahocevar/batch-fill-stroke
Batch polygon and circle fills and strokes
This commit is contained in:
@@ -94,6 +94,12 @@ ol.source.Vector = function(opt_options) {
|
||||
*/
|
||||
this.format_ = options.format;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.overlaps_ = options.overlaps == undefined ? true : options.overlaps;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {string|ol.FeatureUrlFunction|undefined}
|
||||
@@ -695,6 +701,14 @@ ol.source.Vector.prototype.getFormat = function() {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @return {boolean} The source can have overlapping geometries.
|
||||
*/
|
||||
ol.source.Vector.prototype.getOverlaps = function() {
|
||||
return this.overlaps_;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Get the url associated with this source.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user