Merge pull request #3061 from elemoine/render-bug2

Add a renderBuffer option to ol.layer.Vector
This commit is contained in:
Éric Lemoine
2014-12-19 08:58:38 +01:00
16 changed files with 76 additions and 115 deletions
+11
View File
@@ -3229,6 +3229,7 @@ olx.layer.TileOptions.prototype.useInterimTilesOnError;
* minResolution: (number|undefined),
* maxResolution: (number|undefined),
* opacity: (number|undefined),
* renderBuffer: (number|undefined),
* saturation: (number|undefined),
* source: (ol.source.Vector|undefined),
* style: (ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction|undefined),
@@ -3305,6 +3306,16 @@ olx.layer.VectorOptions.prototype.maxResolution;
olx.layer.VectorOptions.prototype.opacity;
/**
* The buffer around the viewport extent used by the renderer when getting
* features from the vector source. Recommended value: the size of the
* largest symbol or line width. Default is 100 pixels.
* @type {number|undefined}
* @api
*/
olx.layer.VectorOptions.prototype.renderBuffer;
/**
* Saturation.
* @type {number|undefined}