@@ -3904,7 +3904,8 @@ olx.source;
3904
3904
3905
3905
3906
3906
/**
3907
- * @typedef {{culture: (string|undefined),
3907
+ * @typedef {{cacheSize: (number|undefined),
3908
+ * culture: (string|undefined),
3908
3909
* key: string,
3909
3910
* imagerySet: string,
3910
3911
* maxZoom: (number|undefined),
@@ -3916,6 +3917,14 @@ olx.source;
3916
3917
olx . source . BingMapsOptions ;
3917
3918
3918
3919
3920
+ /**
3921
+ * Cache size. Default is `2048`.
3922
+ * @type {number|undefined }
3923
+ * @api
3924
+ */
3925
+ olx . source . BingMapsOptions . prototype . cacheSize ;
3926
+
3927
+
3919
3928
/**
3920
3929
* Culture code. Default is `en-us`.
3921
3930
* @type {string|undefined }
@@ -4107,6 +4116,7 @@ olx.source.TileUTFGridOptions.prototype.url;
4107
4116
4108
4117
/**
4109
4118
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
4119
+ * cacheSize: (number|undefined),
4110
4120
* crossOrigin: (null|string|undefined),
4111
4121
* logo: (string|olx.LogoOptions|undefined),
4112
4122
* opaque: (boolean|undefined),
@@ -4136,6 +4146,14 @@ olx.source.TileImageOptions;
4136
4146
olx . source . TileImageOptions . prototype . attributions ;
4137
4147
4138
4148
4149
+ /**
4150
+ * Cache size. Default is `2048`.
4151
+ * @type {number|undefined }
4152
+ * @api
4153
+ */
4154
+ olx . source . TileImageOptions . prototype . cacheSize ;
4155
+
4156
+
4139
4157
/**
4140
4158
* The `crossOrigin` attribute for loaded images. Note that you must provide a
4141
4159
* `crossOrigin` value if you are using the WebGL renderer or if you want to
@@ -4270,6 +4288,7 @@ olx.source.TileImageOptions.prototype.wrapX;
4270
4288
4271
4289
/**
4272
4290
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
4291
+ * cacheSize: (number|undefined),
4273
4292
* format: (ol.format.Feature|undefined),
4274
4293
* logo: (string|olx.LogoOptions|undefined),
4275
4294
* opaque: (boolean|undefined),
@@ -4298,6 +4317,15 @@ olx.source.VectorTileOptions;
4298
4317
olx . source . VectorTileOptions . prototype . attributions ;
4299
4318
4300
4319
4320
+
4321
+ /**
4322
+ * Cache size. Default is `128`.
4323
+ * @type {number|undefined }
4324
+ * @api
4325
+ */
4326
+ olx . source . VectorTileOptions . prototype . cacheSize ;
4327
+
4328
+
4301
4329
/**
4302
4330
* Feature format for tiles. Used and required by the default
4303
4331
* `tileLoadFunction`.
@@ -4518,7 +4546,8 @@ olx.source.ImageMapGuideOptions.prototype.params;
4518
4546
4519
4547
4520
4548
/**
4521
- * @typedef {{layer: string,
4549
+ * @typedef {{cacheSize: (number|undefined),
4550
+ * layer: string,
4522
4551
* reprojectionErrorThreshold: (number|undefined),
4523
4552
* tileLoadFunction: (ol.TileLoadFunctionType|undefined),
4524
4553
* url: (string|undefined)}}
@@ -4527,6 +4556,14 @@ olx.source.ImageMapGuideOptions.prototype.params;
4527
4556
olx . source . MapQuestOptions ;
4528
4557
4529
4558
4559
+ /**
4560
+ * Cache size. Default is `2048`.
4561
+ * @type {number|undefined }
4562
+ * @api
4563
+ */
4564
+ olx . source . MapQuestOptions . prototype . cacheSize ;
4565
+
4566
+
4530
4567
/**
4531
4568
* Layer. Possible values are `osm`, `sat`, and `hyb`.
4532
4569
* @type {string }
@@ -4600,6 +4637,7 @@ olx.source.TileDebugOptions.prototype.wrapX;
4600
4637
4601
4638
/**
4602
4639
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
4640
+ * cacheSize: (number|undefined),
4603
4641
* crossOrigin: (null|string|undefined),
4604
4642
* maxZoom: (number|undefined),
4605
4643
* opaque: (boolean|undefined),
@@ -4620,6 +4658,14 @@ olx.source.OSMOptions;
4620
4658
olx . source . OSMOptions . prototype . attributions ;
4621
4659
4622
4660
4661
+ /**
4662
+ * Cache size. Default is `2048`.
4663
+ * @type {number|undefined }
4664
+ * @api
4665
+ */
4666
+ olx . source . OSMOptions . prototype . cacheSize ;
4667
+
4668
+
4623
4669
/**
4624
4670
* The `crossOrigin` attribute for loaded images. Note that you must provide a
4625
4671
* `crossOrigin` value if you are using the WebGL renderer or if you want to
@@ -5016,7 +5062,8 @@ olx.source.ImageWMSOptions.prototype.url;
5016
5062
5017
5063
5018
5064
/**
5019
- * @typedef {{layer: string,
5065
+ * @typedef {{cacheSize: (number|undefined),
5066
+ * layer: string,
5020
5067
* minZoom: (number|undefined),
5021
5068
* maxZoom: (number|undefined),
5022
5069
* opaque: (boolean|undefined),
@@ -5028,6 +5075,13 @@ olx.source.ImageWMSOptions.prototype.url;
5028
5075
olx . source . StamenOptions ;
5029
5076
5030
5077
5078
+ /**
5079
+ * Cache size. Default is `2048`.
5080
+ * @type {number|undefined }
5081
+ * @api
5082
+ */
5083
+ olx . source . StamenOptions . prototype . cacheSize ;
5084
+
5031
5085
/**
5032
5086
* Layer.
5033
5087
* @type {string }
@@ -5176,6 +5230,7 @@ olx.source.ImageStaticOptions.prototype.url;
5176
5230
5177
5231
/**
5178
5232
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
5233
+ * cacheSize: (number|undefined),
5179
5234
* crossOrigin: (null|string|undefined),
5180
5235
* params: (Object.<string, *>|undefined),
5181
5236
* logo: (string|olx.LogoOptions|undefined),
@@ -5199,6 +5254,14 @@ olx.source.TileArcGISRestOptions;
5199
5254
olx . source . TileArcGISRestOptions . prototype . attributions ;
5200
5255
5201
5256
5257
+ /**
5258
+ * Cache size. Default is `2048`.
5259
+ * @type {number|undefined }
5260
+ * @api
5261
+ */
5262
+ olx . source . TileArcGISRestOptions . prototype . cacheSize ;
5263
+
5264
+
5202
5265
/**
5203
5266
* The `crossOrigin` attribute for loaded images. Note that you must provide a
5204
5267
* `crossOrigin` value if you are using the WebGL renderer or if you want to
@@ -5303,6 +5366,7 @@ olx.source.TileArcGISRestOptions.prototype.urls;
5303
5366
5304
5367
/**
5305
5368
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
5369
+ * cacheSize: (number|undefined),
5306
5370
* crossOrigin: (null|string|undefined),
5307
5371
* jsonp: (boolean|undefined),
5308
5372
* reprojectionErrorThreshold: (number|undefined),
@@ -5324,6 +5388,14 @@ olx.source.TileJSONOptions;
5324
5388
olx . source . TileJSONOptions . prototype . attributions ;
5325
5389
5326
5390
5391
+ /**
5392
+ * Cache size. Default is `2048`.
5393
+ * @type {number|undefined }
5394
+ * @api
5395
+ */
5396
+ olx . source . TileJSONOptions . prototype . cacheSize ;
5397
+
5398
+
5327
5399
/**
5328
5400
* The `crossOrigin` attribute for loaded images. Note that you must provide a
5329
5401
* `crossOrigin` value if you are using the WebGL renderer or if you want to
@@ -5385,6 +5457,7 @@ olx.source.TileJSONOptions.prototype.wrapX;
5385
5457
5386
5458
/**
5387
5459
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
5460
+ * cacheSize: (number|undefined),
5388
5461
* params: Object.<string,*>,
5389
5462
* crossOrigin: (null|string|undefined),
5390
5463
* gutter: (number|undefined),
@@ -5412,6 +5485,14 @@ olx.source.TileWMSOptions;
5412
5485
olx . source . TileWMSOptions . prototype . attributions ;
5413
5486
5414
5487
5488
+ /**
5489
+ * Cache size. Default is `2048`.
5490
+ * @type {number|undefined }
5491
+ * @api
5492
+ */
5493
+ olx . source . TileWMSOptions . prototype . cacheSize ;
5494
+
5495
+
5415
5496
/**
5416
5497
* WMS request parameters. At least a `LAYERS` param is required. `STYLES` is
5417
5498
* `''` by default. `VERSION` is `1.3.0` by default. `WIDTH`, `HEIGHT`, `BBOX`
@@ -5675,6 +5756,7 @@ olx.source.VectorOptions.prototype.wrapX;
5675
5756
5676
5757
/**
5677
5758
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
5759
+ * cacheSize: (number|undefined),
5678
5760
* crossOrigin: (string|null|undefined),
5679
5761
* logo: (string|olx.LogoOptions|undefined),
5680
5762
* tileGrid: ol.tilegrid.WMTS,
@@ -5709,6 +5791,14 @@ olx.source.WMTSOptions;
5709
5791
olx . source . WMTSOptions . prototype . attributions ;
5710
5792
5711
5793
5794
+ /**
5795
+ * Cache size. Default is `2048`.
5796
+ * @type {number|undefined }
5797
+ * @api
5798
+ */
5799
+ olx . source . WMTSOptions . prototype . cacheSize ;
5800
+
5801
+
5712
5802
/**
5713
5803
* The `crossOrigin` attribute for loaded images. Note that you must provide a
5714
5804
* `crossOrigin` value if you are using the WebGL renderer or if you want to
@@ -5882,6 +5972,7 @@ olx.source.WMTSOptions.prototype.wrapX;
5882
5972
5883
5973
/**
5884
5974
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
5975
+ * cacheSize: (number|undefined),
5885
5976
* crossOrigin: (null|string|undefined),
5886
5977
* logo: (string|olx.LogoOptions|undefined),
5887
5978
* opaque: (boolean|undefined),
@@ -5910,6 +6001,14 @@ olx.source.XYZOptions;
5910
6001
olx . source . XYZOptions . prototype . attributions ;
5911
6002
5912
6003
6004
+ /**
6005
+ * Cache size. Default is `2048`.
6006
+ * @type {number|undefined }
6007
+ * @api
6008
+ */
6009
+ olx . source . XYZOptions . prototype . cacheSize ;
6010
+
6011
+
5913
6012
/**
5914
6013
* The `crossOrigin` attribute for loaded images. Note that you must provide a
5915
6014
* `crossOrigin` value if you are using the WebGL renderer or if you want to
@@ -6048,6 +6147,7 @@ olx.source.XYZOptions.prototype.wrapX;
6048
6147
6049
6148
/**
6050
6149
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
6150
+ * cacheSize: (number|undefined),
6051
6151
* crossOrigin: (null|string|undefined),
6052
6152
* logo: (string|olx.LogoOptions|undefined),
6053
6153
* reprojectionErrorThreshold: (number|undefined),
@@ -6067,6 +6167,14 @@ olx.source.ZoomifyOptions;
6067
6167
olx . source . ZoomifyOptions . prototype . attributions ;
6068
6168
6069
6169
6170
+ /**
6171
+ * Cache size. Default is `2048`.
6172
+ * @type {number|undefined }
6173
+ * @api
6174
+ */
6175
+ olx . source . ZoomifyOptions . prototype . cacheSize ;
6176
+
6177
+
6070
6178
/**
6071
6179
* The `crossOrigin` attribute for loaded images. Note that you must provide a
6072
6180
* `crossOrigin` value if you are using the WebGL renderer or if you want to
0 commit comments