Add a renderBuffer option to ol.layer.Vector

This commit is contained in:
Éric Lemoine
2014-10-21 09:00:44 +02:00
parent ddc51ee267
commit 8e8fc9977c
5 changed files with 32 additions and 18 deletions
+11
View File
@@ -3188,6 +3188,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),
@@ -3264,6 +3265,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}