Add cacheSize option to olx.source.CartoDBOptions

This commit is contained in:
Frederic Junod
2016-04-01 09:44:18 +02:00
parent 3f0de09dd7
commit b96de85044
2 changed files with 10 additions and 0 deletions

View File

@@ -6211,6 +6211,7 @@ olx.source.XYZOptions.prototype.wrapX;
/**
* @typedef {{attributions: (olx.source.AttributionOption|undefined),
* cacheSize: (number|undefined),
* crossOrigin: (null|string|undefined),
* logo: (string|olx.LogoOptions|undefined),
* projection: ol.proj.ProjectionLike,
@@ -6233,6 +6234,14 @@ olx.source.CartoDBOptions;
olx.source.CartoDBOptions.prototype.attributions;
/**
* Cache size. Default is `2048`.
* @type {number|undefined}
* @api
*/
olx.source.CartoDBOptions.prototype.cacheSize;
/**
* The `crossOrigin` attribute for loaded images. Note that you must provide a
* `crossOrigin` value if you are using the WebGL renderer or if you want to