Add renderBuffer option for ol.source.ImageVector
This commit is contained in:
@@ -4970,6 +4970,7 @@ olx.source.ImageCanvasOptions.prototype.state;
|
||||
* logo: (string|olx.LogoOptions|undefined),
|
||||
* projection: ol.ProjectionLike,
|
||||
* ratio: (number|undefined),
|
||||
* renderBuffer: (number|undefined),
|
||||
* resolutions: (Array.<number>|undefined),
|
||||
* source: ol.source.Vector,
|
||||
* style: (ol.style.Style|Array.<ol.style.Style>|ol.StyleFunction|undefined)}}
|
||||
@@ -5011,6 +5012,17 @@ olx.source.ImageVectorOptions.prototype.projection;
|
||||
olx.source.ImageVectorOptions.prototype.ratio;
|
||||
|
||||
|
||||
/**
|
||||
* The buffer around the viewport extent used by the renderer when getting
|
||||
* features from the vector source for the rendering or hit-detection.
|
||||
* Recommended value: the size of the largest symbol, line width or label.
|
||||
* Default is 100 pixels.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.source.ImageVectorOptions.prototype.renderBuffer;
|
||||
|
||||
|
||||
/**
|
||||
* Resolutions. If specified, new canvases will be created for these resolutions
|
||||
* only.
|
||||
|
||||
Reference in New Issue
Block a user