Add preload option to olx.layer.VectorTileOptions

This commit is contained in:
drnextgis
2016-12-07 10:22:13 +07:00
parent 59e802737e
commit f492d69691

View File

@@ -3953,6 +3953,7 @@ olx.layer.VectorOptions.prototype.visible;
* minResolution: (number|undefined),
* maxResolution: (number|undefined),
* opacity: (number|undefined),
* preload: (number|undefined),
* renderBuffer: (number|undefined),
* renderMode: (ol.layer.VectorTile.RenderType|string|undefined),
* renderOrder: (function(ol.Feature, ol.Feature):number|undefined),
@@ -4047,6 +4048,15 @@ olx.layer.VectorTileOptions.prototype.maxResolution;
olx.layer.VectorTileOptions.prototype.opacity;
/**
* Preload. Load low-resolution tiles up to `preload` levels. By default
* `preload` is `0`, which means no preloading.
* @type {number|undefined}
* @api stable
*/
olx.layer.VectorTileOptions.prototype.preload;
/**
* Source.
* @type {ol.source.VectorTile|undefined}