ol 10.7.1 → 10.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/Collection.d.ts +1 -3
  2. package/Collection.d.ts.map +1 -1
  3. package/Feature.d.ts +6 -15
  4. package/Feature.d.ts.map +1 -1
  5. package/Feature.js +3 -6
  6. package/Geolocation.d.ts +1 -3
  7. package/Geolocation.d.ts.map +1 -1
  8. package/ImageTile.d.ts +2 -12
  9. package/ImageTile.d.ts.map +1 -1
  10. package/ImageTile.js +5 -32
  11. package/Map.d.ts +7 -27
  12. package/Map.d.ts.map +1 -1
  13. package/Map.js +3 -29
  14. package/Object.d.ts +18 -15
  15. package/Object.d.ts.map +1 -1
  16. package/Object.js +6 -9
  17. package/Overlay.d.ts +1 -3
  18. package/Overlay.d.ts.map +1 -1
  19. package/VectorRenderTile.d.ts +0 -4
  20. package/VectorRenderTile.d.ts.map +1 -1
  21. package/VectorRenderTile.js +0 -2
  22. package/View.d.ts +1 -40
  23. package/View.d.ts.map +1 -1
  24. package/View.js +0 -94
  25. package/colorlike.js +8 -4
  26. package/control/Control.d.ts +1 -3
  27. package/control/Control.d.ts.map +1 -1
  28. package/control/OverviewMap.d.ts +1 -5
  29. package/control/OverviewMap.d.ts.map +1 -1
  30. package/coordinate.d.ts +0 -8
  31. package/coordinate.d.ts.map +1 -1
  32. package/coordinate.js +1 -31
  33. package/dist/ol.d.ts +0 -24
  34. package/dist/ol.d.ts.map +1 -1
  35. package/dist/ol.js +1 -1
  36. package/dist/ol.js.map +1 -1
  37. package/dom.d.ts +0 -15
  38. package/dom.d.ts.map +1 -1
  39. package/dom.js +0 -6
  40. package/featureloader.d.ts +2 -6
  41. package/featureloader.d.ts.map +1 -1
  42. package/format/EsriJSON.d.ts +1 -3
  43. package/format/EsriJSON.d.ts.map +1 -1
  44. package/format/Feature.d.ts +1 -3
  45. package/format/Feature.d.ts.map +1 -1
  46. package/format/GeoJSON.d.ts +2 -6
  47. package/format/GeoJSON.d.ts.map +1 -1
  48. package/format/JSONFeature.d.ts +1 -3
  49. package/format/JSONFeature.d.ts.map +1 -1
  50. package/format/KML.d.ts +0 -9
  51. package/format/KML.d.ts.map +1 -1
  52. package/format/KML.js +0 -7
  53. package/format/TextFeature.d.ts +1 -3
  54. package/format/TextFeature.d.ts.map +1 -1
  55. package/format/TopoJSON.d.ts +1 -3
  56. package/format/TopoJSON.d.ts.map +1 -1
  57. package/format/WKB.d.ts +1 -3
  58. package/format/WKB.d.ts.map +1 -1
  59. package/format/XMLFeature.d.ts +1 -3
  60. package/format/XMLFeature.d.ts.map +1 -1
  61. package/geom/Geometry.d.ts +1 -3
  62. package/geom/Geometry.d.ts.map +1 -1
  63. package/interaction/DragAndDrop.d.ts +2 -6
  64. package/interaction/DragAndDrop.d.ts.map +1 -1
  65. package/interaction/Draw.d.ts +3 -9
  66. package/interaction/Draw.d.ts.map +1 -1
  67. package/interaction/Interaction.d.ts +1 -3
  68. package/interaction/Interaction.d.ts.map +1 -1
  69. package/interaction/Link.js +2 -2
  70. package/interaction/Modify.d.ts +28 -76
  71. package/interaction/Modify.d.ts.map +1 -1
  72. package/interaction/Modify.js +54 -248
  73. package/interaction/Select.d.ts +18 -10
  74. package/interaction/Select.d.ts.map +1 -1
  75. package/interaction/Select.js +89 -54
  76. package/interaction/Snap.d.ts +12 -18
  77. package/interaction/Snap.d.ts.map +1 -1
  78. package/interaction/Translate.d.ts +2 -6
  79. package/interaction/Translate.d.ts.map +1 -1
  80. package/layer/Base.d.ts +8 -19
  81. package/layer/Base.d.ts.map +1 -1
  82. package/layer/Base.js +3 -6
  83. package/layer/BaseImage.d.ts +1 -3
  84. package/layer/BaseImage.d.ts.map +1 -1
  85. package/layer/BaseTile.d.ts +1 -3
  86. package/layer/BaseTile.d.ts.map +1 -1
  87. package/layer/BaseVector.d.ts +1 -3
  88. package/layer/BaseVector.d.ts.map +1 -1
  89. package/layer/Flow.d.ts +2 -2
  90. package/layer/Graticule.d.ts +1 -5
  91. package/layer/Graticule.d.ts.map +1 -1
  92. package/layer/Group.d.ts +2 -8
  93. package/layer/Group.d.ts.map +1 -1
  94. package/layer/Heatmap.d.ts +2 -23
  95. package/layer/Heatmap.d.ts.map +1 -1
  96. package/layer/Heatmap.js +0 -29
  97. package/layer/Layer.d.ts +8 -17
  98. package/layer/Layer.d.ts.map +1 -1
  99. package/layer/Layer.js +2 -5
  100. package/layer/Tile.d.ts +1 -1
  101. package/layer/Vector.d.ts +2 -2
  102. package/layer/Vector.d.ts.map +1 -1
  103. package/layer/VectorImage.d.ts +2 -2
  104. package/layer/VectorImage.d.ts.map +1 -1
  105. package/layer/VectorTile.d.ts +2 -2
  106. package/layer/VectorTile.d.ts.map +1 -1
  107. package/layer/WebGLPoints.d.ts +1 -3
  108. package/layer/WebGLPoints.d.ts.map +1 -1
  109. package/layer/WebGLTile.d.ts +3 -3
  110. package/layer/WebGLTile.d.ts.map +1 -1
  111. package/layer/WebGLVector.d.ts +2 -4
  112. package/layer/WebGLVector.d.ts.map +1 -1
  113. package/layer/WebGLVectorTile.d.ts +2 -2
  114. package/layer/WebGLVectorTile.d.ts.map +1 -1
  115. package/package.json +3 -4
  116. package/proj/proj4.d.ts +6 -43
  117. package/proj/proj4.d.ts.map +1 -1
  118. package/proj/proj4.js +28 -89
  119. package/proj.js +2 -2
  120. package/render/canvas/Builder.d.ts.map +1 -1
  121. package/render/canvas/Builder.js +1 -8
  122. package/render/canvas/Executor.d.ts.map +1 -1
  123. package/render/canvas/Executor.js +3 -49
  124. package/render/canvas/ExecutorGroup.d.ts.map +1 -1
  125. package/render/canvas/ExecutorGroup.js +5 -41
  126. package/render/canvas/Immediate.d.ts +0 -2
  127. package/render/canvas/Immediate.d.ts.map +1 -1
  128. package/render/canvas/Immediate.js +4 -28
  129. package/render/canvas/LineStringBuilder.d.ts +0 -1
  130. package/render/canvas/LineStringBuilder.d.ts.map +1 -1
  131. package/render/canvas/LineStringBuilder.js +5 -15
  132. package/render/canvas/PolygonBuilder.d.ts +0 -2
  133. package/render/canvas/PolygonBuilder.d.ts.map +1 -1
  134. package/render/canvas/PolygonBuilder.js +6 -72
  135. package/render/canvas/style.d.ts.map +1 -1
  136. package/render/canvas/style.js +37 -118
  137. package/render/canvas.d.ts +2 -22
  138. package/render/canvas.d.ts.map +1 -1
  139. package/render/canvas.js +0 -9
  140. package/render/webgl/bufferUtil.d.ts.map +1 -1
  141. package/render/webgl/bufferUtil.js +31 -1
  142. package/renderer/Composite.js +4 -4
  143. package/renderer/canvas/ImageLayer.d.ts +1 -6
  144. package/renderer/canvas/ImageLayer.d.ts.map +1 -1
  145. package/renderer/canvas/ImageLayer.js +0 -14
  146. package/renderer/canvas/TileLayer.d.ts +1 -1
  147. package/renderer/canvas/VectorLayer.d.ts +1 -8
  148. package/renderer/canvas/VectorLayer.d.ts.map +1 -1
  149. package/renderer/canvas/VectorLayer.js +14 -55
  150. package/renderer/canvas/VectorTileLayer.d.ts +1 -1
  151. package/renderer/canvas/VectorTileLayer.d.ts.map +1 -1
  152. package/renderer/canvas/VectorTileLayer.js +0 -2
  153. package/renderer/webgl/TileLayerBase.js +1 -1
  154. package/reproj/Tile.d.ts +2 -7
  155. package/reproj/Tile.d.ts.map +1 -1
  156. package/reproj/Tile.js +6 -12
  157. package/source/Cluster.d.ts +2 -8
  158. package/source/Cluster.d.ts.map +1 -1
  159. package/source/DataTile.d.ts +0 -15
  160. package/source/DataTile.d.ts.map +1 -1
  161. package/source/DataTile.js +0 -9
  162. package/source/GeoTIFF.d.ts +2 -7
  163. package/source/GeoTIFF.d.ts.map +1 -1
  164. package/source/GeoTIFF.js +10 -15
  165. package/source/ImageArcGISRest.d.ts +0 -10
  166. package/source/ImageArcGISRest.d.ts.map +1 -1
  167. package/source/ImageArcGISRest.js +0 -8
  168. package/source/ImageMapGuide.d.ts +0 -10
  169. package/source/ImageMapGuide.d.ts.map +1 -1
  170. package/source/ImageMapGuide.js +0 -8
  171. package/source/ImageStatic.d.ts +0 -5
  172. package/source/ImageStatic.d.ts.map +1 -1
  173. package/source/ImageStatic.js +0 -2
  174. package/source/ImageTile.d.ts +1 -5
  175. package/source/ImageTile.d.ts.map +1 -1
  176. package/source/ImageTile.js +0 -5
  177. package/source/ImageWMS.d.ts +0 -10
  178. package/source/ImageWMS.d.ts.map +1 -1
  179. package/source/ImageWMS.js +0 -10
  180. package/source/OGCMapTile.d.ts +0 -5
  181. package/source/OGCMapTile.d.ts.map +1 -1
  182. package/source/OGCMapTile.js +0 -2
  183. package/source/OSM.d.ts +0 -5
  184. package/source/OSM.d.ts.map +1 -1
  185. package/source/OSM.js +19 -5
  186. package/source/SentinelHub.d.ts +0 -1
  187. package/source/SentinelHub.d.ts.map +1 -1
  188. package/source/SentinelHub.js +0 -5
  189. package/source/Source.d.ts +1 -3
  190. package/source/Source.d.ts.map +1 -1
  191. package/source/TileArcGISRest.d.ts +1 -6
  192. package/source/TileArcGISRest.d.ts.map +1 -1
  193. package/source/TileArcGISRest.js +0 -2
  194. package/source/TileDebug.d.ts +1 -1
  195. package/source/TileImage.d.ts +0 -10
  196. package/source/TileImage.d.ts.map +1 -1
  197. package/source/TileImage.js +3 -16
  198. package/source/TileWMS.d.ts +1 -1
  199. package/source/UrlTile.d.ts +1 -1
  200. package/source/Vector.d.ts +8 -18
  201. package/source/Vector.d.ts.map +1 -1
  202. package/source/Vector.js +3 -3
  203. package/source/WMTS.d.ts +0 -5
  204. package/source/WMTS.d.ts.map +1 -1
  205. package/source/WMTS.js +0 -2
  206. package/source/XYZ.d.ts +0 -5
  207. package/source/XYZ.d.ts.map +1 -1
  208. package/source/XYZ.js +0 -2
  209. package/source/Zoomify.d.ts +2 -7
  210. package/source/Zoomify.d.ts.map +1 -1
  211. package/source/Zoomify.js +3 -5
  212. package/source/arcgisRest.d.ts +0 -5
  213. package/source/arcgisRest.d.ts.map +1 -1
  214. package/source/arcgisRest.js +0 -5
  215. package/source/mapguide.d.ts +0 -4
  216. package/source/mapguide.d.ts.map +1 -1
  217. package/source/mapguide.js +0 -5
  218. package/source/mapserver.d.ts +1 -5
  219. package/source/mapserver.d.ts.map +1 -1
  220. package/source/mapserver.js +0 -4
  221. package/source/ogcTileUtil.d.ts +12 -20
  222. package/source/ogcTileUtil.d.ts.map +1 -1
  223. package/source/ogcTileUtil.js +15 -27
  224. package/source/static.d.ts +0 -5
  225. package/source/static.d.ts.map +1 -1
  226. package/source/static.js +0 -4
  227. package/source/wms.d.ts +0 -5
  228. package/source/wms.d.ts.map +1 -1
  229. package/source/wms.js +0 -5
  230. package/style/Circle.d.ts +14 -0
  231. package/style/Circle.d.ts.map +1 -1
  232. package/style/Circle.js +11 -0
  233. package/style/Fill.js +1 -1
  234. package/style/Icon.d.ts +0 -19
  235. package/style/Icon.d.ts.map +1 -1
  236. package/style/Icon.js +2 -55
  237. package/style/IconImage.d.ts +5 -14
  238. package/style/IconImage.d.ts.map +1 -1
  239. package/style/IconImage.js +18 -28
  240. package/style/IconImageCache.d.ts +8 -4
  241. package/style/IconImageCache.d.ts.map +1 -1
  242. package/style/IconImageCache.js +13 -11
  243. package/style/RegularShape.d.ts +0 -12
  244. package/style/RegularShape.d.ts.map +1 -1
  245. package/style/RegularShape.js +4 -36
  246. package/style/Stroke.d.ts +0 -25
  247. package/style/Stroke.d.ts.map +1 -1
  248. package/style/Stroke.js +0 -28
  249. package/style/Style.d.ts +1 -1
  250. package/style/flat.d.ts +2 -2
  251. package/style/flat.js +1 -1
  252. package/tilegrid/TileGrid.d.ts +0 -5
  253. package/tilegrid/TileGrid.d.ts.map +1 -1
  254. package/tilegrid/TileGrid.js +0 -8
  255. package/util.js +1 -1
  256. package/worker/webgl.js +1 -1
  257. package/geom/flat/lineoffset.d.ts +0 -45
  258. package/geom/flat/lineoffset.d.ts.map +0 -1
  259. package/geom/flat/lineoffset.js +0 -173
  260. package/source/GeoZarr.d.ts +0 -163
  261. package/source/GeoZarr.d.ts.map +0 -1
  262. package/source/GeoZarr.js +0 -472
  263. package/source/OGCMap.d.ts +0 -180
  264. package/source/OGCMap.d.ts.map +0 -1
  265. package/source/OGCMap.js +0 -227
  266. package/source/ogcMapUtil.d.ts +0 -88
  267. package/source/ogcMapUtil.d.ts.map +0 -1
  268. package/source/ogcMapUtil.js +0 -121
@@ -16,7 +16,6 @@ import {getRequestUrl} from './arcgisRest.js';
16
16
  * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
17
17
  * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
18
18
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
19
- * @property {ReferrerPolicy} [referrerPolicy] The `referrerPolicy` property for loaded images.
20
19
  * @property {boolean} [interpolate=true] Use interpolated values when resampling. By default,
21
20
  * linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
22
21
  * @property {Object<string,*>} [params] ArcGIS Rest parameters. This field is optional. Service defaults will be
@@ -77,7 +76,6 @@ class TileArcGISRest extends TileImage {
77
76
  attributions: options.attributions,
78
77
  cacheSize: options.cacheSize,
79
78
  crossOrigin: options.crossOrigin,
80
- referrerPolicy: options.referrerPolicy,
81
79
  interpolate: options.interpolate,
82
80
  projection: options.projection,
83
81
  reprojectionErrorThreshold: options.reprojectionErrorThreshold,
@@ -7,7 +7,7 @@ export type Options = {
7
7
  /**
8
8
  * Tile grid.
9
9
  */
10
- tileGrid?: import("../tilegrid.js").TileGrid | undefined;
10
+ tileGrid?: import("../tilegrid/TileGrid.js").default | undefined;
11
11
  /**
12
12
  * Whether to wrap the world horizontally.
13
13
  */
@@ -23,10 +23,6 @@ export type Options = {
23
23
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
24
24
  */
25
25
  crossOrigin?: string | null | undefined;
26
- /**
27
- * The `referrerPolicy` property for loaded images.
28
- */
29
- referrerPolicy?: ReferrerPolicy | undefined;
30
26
  /**
31
27
  * Use interpolated values when resampling. By default,
32
28
  * linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
@@ -116,7 +112,6 @@ import ImageTile from '../ImageTile.js';
116
112
  * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
117
113
  * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
118
114
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
119
- * @property {ReferrerPolicy} [referrerPolicy] The `referrerPolicy` property for loaded images.
120
115
  * @property {boolean} [interpolate=true] Use interpolated values when resampling. By default,
121
116
  * linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
122
117
  * @property {import("../proj.js").ProjectionLike} [projection] Projection. Default is the view projection.
@@ -169,11 +164,6 @@ declare class TileImage extends UrlTile {
169
164
  * @type {?string}
170
165
  */
171
166
  protected crossOrigin: string | null;
172
- /**
173
- * @protected
174
- * @type {ReferrerPolicy}
175
- */
176
- protected referrerPolicy: ReferrerPolicy;
177
167
  /**
178
168
  * @protected
179
169
  * @type {typeof ImageTile}
@@ -1 +1 @@
1
- {"version":3,"file":"TileImage.d.ts","sourceRoot":"","sources":["TileImage.js"],"names":[],"mappings":"AA2UA;;;GAGG;AACH,mDAHW,SAAS,OACT,MAAM,QAsDhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA1Wa,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAtB3B,iBAAiB;AAWvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH;;;;;GAKG;AACH;IACE;;OAEG;IACH,qBAFY,OAAO,EA8DlB;IArCC;;;OAGG;IACH,uBAFW,MAAM,OAAA,CAG+C;IAEhE;;;OAGG;IACH,0BAFU,cAAc,CAEoB;IAE5C;;;OAGG;IACH,qBAFU,OAAO,SAAS,CAGuC;IAEjE;;;OAGG;IACH,iCAFU;YAAQ,MAAM,GAAE,OAAO,yBAAy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S,CAGuC;IAEjE;;;OAGG;IACH,iCAFU;YAAQ,MAAM,GAAE,OAAO,yBAAyB,EAAE,OAAO;KAAC,CAErC;IAE/B;;;OAGG;IACH,oCAAqE;IAErE;;;OAGG;IACH,iCAAqC;IAmBvC;;OAEG;IACH,aAFY,MAAM,CAIjB;IAiCD;;;;;;;;;OASG;IACH,oBAoBC;IAED;;;;;;;;;OASG;IACH,oBATW,MAAM,KACN,MAAM,KACN,MAAM,cACN,MAAM,cACN,OAAO,uBAAuB,EAAE,OAAO,cACvC,OAAO,wBAAwB,EAAE,OAAO,CAAC,OAAO,YAAY,EAAE,OAAO,CAAC,GACrE,CAAE,SAAS,GAAC,UAAU,CAAC,CA2ClC;IAED;;;;;;;;;OASG;IACH,6BATW,MAAM,KACN,MAAM,KACN,MAAM,cACN,MAAM,cACN,OAAQ,uBAAuB,EAAE,OAAO,cACxC,OAAO,wBAAwB,EAAE,OAAO,CAAC,OAAO,YAAY,EAAE,OAAO,CAAC,GACpE,SAAS,CAarB;IAED;;;;OAIG;IACH,mCAHW,OAAO,QASjB;IAED;;;;;;;;;;;OAWG;IACH,qCAJW,OAAO,YAAY,EAAE,cAAc,YACnC,OAAO,yBAAyB,EAAE,OAAO,QAWnD;CACF;oBAnTmB,cAAc;uBAJX,mBAAmB"}
@@ -20,7 +20,6 @@ import UrlTile from './UrlTile.js';
20
20
  * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
21
21
  * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
22
22
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
23
- * @property {ReferrerPolicy} [referrerPolicy] The `referrerPolicy` property for loaded images.
24
23
  * @property {boolean} [interpolate=true] Use interpolated values when resampling. By default,
25
24
  * linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
26
25
  * @property {import("../proj.js").ProjectionLike} [projection] Projection. Default is the view projection.
@@ -98,12 +97,6 @@ class TileImage extends UrlTile {
98
97
  this.crossOrigin =
99
98
  options.crossOrigin !== undefined ? options.crossOrigin : null;
100
99
 
101
- /**
102
- * @protected
103
- * @type {ReferrerPolicy}
104
- */
105
- this.referrerPolicy = options.referrerPolicy;
106
-
107
100
  /**
108
101
  * @protected
109
102
  * @type {typeof ImageTile}
@@ -207,10 +200,7 @@ class TileImage extends UrlTile {
207
200
  tileCoord,
208
201
  tileUrl !== undefined ? TileState.IDLE : TileState.EMPTY,
209
202
  tileUrl !== undefined ? tileUrl : '',
210
- {
211
- crossOrigin: this.crossOrigin,
212
- referrerPolicy: this.referrerPolicy,
213
- },
203
+ this.crossOrigin,
214
204
  this.tileLoadFunction,
215
205
  this.tileOptions,
216
206
  );
@@ -350,13 +340,10 @@ export function defaultTileLoadFunction(imageTile, src) {
350
340
  credentials = 'include';
351
341
  }
352
342
 
353
- const options = {
343
+ fetch(src, {
354
344
  mode,
355
345
  credentials,
356
- referrerPolicy: imageTile.getReferrerPolicy(),
357
- };
358
-
359
- fetch(src, options)
346
+ })
360
347
  .then((response) => {
361
348
  if (!response.ok) {
362
349
  throw new Error(`HTTP ${response.status}`);
@@ -69,7 +69,7 @@ export type Options = {
69
69
  * extent, the grid will be based on that; if not, a grid based on a global
70
70
  * extent with origin at 0,0 will be used.
71
71
  */
72
- tileGrid?: import("../tilegrid.js").TileGrid | undefined;
72
+ tileGrid?: import("../tilegrid/TileGrid.js").default | undefined;
73
73
  /**
74
74
  * The type of
75
75
  * the remote WMS server: `mapserver`, `geoserver`, `carmentaserver`, or `qgis`.
@@ -23,7 +23,7 @@ export type Options = {
23
23
  /**
24
24
  * TileGrid.
25
25
  */
26
- tileGrid?: import("../tilegrid.js").TileGrid | undefined;
26
+ tileGrid?: import("../tilegrid/TileGrid.js").default | undefined;
27
27
  /**
28
28
  * TileLoadFunction.
29
29
  */
@@ -12,9 +12,7 @@
12
12
  * type.
13
13
  * @template {import("../Feature.js").FeatureLike} [FeatureType=import("../Feature.js").default]
14
14
  */
15
- export class VectorSourceEvent<FeatureType extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry, {
16
- [x: string]: any;
17
- }>> extends Event {
15
+ export class VectorSourceEvent<FeatureType extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry>> extends Event {
18
16
  /**
19
17
  * @param {string} type Type.
20
18
  * @param {FeatureType} [feature] Feature.
@@ -44,18 +42,12 @@ export type LoadingStrategy = (arg0: import("../extent.js").Extent, arg1: number
44
42
  /**
45
43
  * *
46
44
  */
47
- export type FeatureClassOrArrayOfRenderFeatures<T extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry, {
48
- [x: string]: any;
49
- }>> = T extends RenderFeature ? T | Array<T> : T;
45
+ export type FeatureClassOrArrayOfRenderFeatures<T extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry>> = T extends RenderFeature ? T | Array<T> : T;
50
46
  /**
51
47
  * *
52
48
  */
53
- export type VectorSourceOnSignature<Return, FeatureType extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry, {
54
- [x: string]: any;
55
- }>> = import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> & import("../Observable").OnSignature<import("../ObjectEventType").Types, import("../Object").ObjectEvent, Return> & import("../Observable").OnSignature<import("./VectorEventType").VectorSourceEventTypes, VectorSourceEvent<FeatureType>, Return> & import("../Observable").CombinedOnSignature<import("../Observable").EventTypes | import("../ObjectEventType").Types | import("./VectorEventType").VectorSourceEventTypes, Return>;
56
- export type Options<FeatureType extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry, {
57
- [x: string]: any;
58
- }>> = {
49
+ export type VectorSourceOnSignature<Return, FeatureType extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry>> = import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> & import("../Observable").OnSignature<import("../ObjectEventType").Types, import("../Object").ObjectEvent, Return> & import("../Observable").OnSignature<import("./VectorEventType").VectorSourceEventTypes, VectorSourceEvent<FeatureType>, Return> & import("../Observable").CombinedOnSignature<import("../Observable").EventTypes | import("../ObjectEventType").Types | import("./VectorEventType").VectorSourceEventTypes, Return>;
50
+ export type Options<FeatureType extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry>> = {
59
51
  /**
60
52
  * Attributions.
61
53
  */
@@ -283,9 +275,7 @@ import Event from '../events/Event.js';
283
275
  * @api
284
276
  * @template {import("../Feature.js").FeatureLike} [FeatureType=import("../Feature.js").default]
285
277
  */
286
- declare class VectorSource<FeatureType extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry, {
287
- [x: string]: any;
288
- }>> extends Source {
278
+ declare class VectorSource<FeatureType extends import("../Feature.js").FeatureLike = import("../Feature.js").default<import("../geom.js").Geometry>> extends Source {
289
279
  /**
290
280
  * @param {Options<FeatureType>} [options] Vector source options.
291
281
  */
@@ -544,14 +534,14 @@ declare class VectorSource<FeatureType extends import("../Feature.js").FeatureLi
544
534
  /**
545
535
  * Get the extent of the features currently in the source.
546
536
  *
547
- * This will return `null` when the source is configured with
537
+ * This method is not available when the source is configured with
548
538
  * `useSpatialIndex` set to `false`.
549
539
  * @param {import("../extent.js").Extent} [extent] Destination extent. If provided, no new extent
550
540
  * will be created. Instead, that extent's coordinates will be overwritten.
551
- * @return {import("../extent.js").Extent | null} Extent.
541
+ * @return {import("../extent.js").Extent} Extent.
552
542
  * @api
553
543
  */
554
- getExtent(extent?: import("../extent.js").Extent): import("../extent.js").Extent | null;
544
+ getExtent(extent?: import("../extent.js").Extent): import("../extent.js").Extent;
555
545
  /**
556
546
  * Get a feature by its identifier (the value returned by feature.getId()). When `RenderFeature`s
557
547
  * are used, `getFeatureById()` can return an array of `RenderFeature`s. This allows for handling
@@ -1 +1 @@
1
- {"version":3,"file":"Vector.d.ts","sourceRoot":"","sources":["Vector.js"],"names":[],"mappings":"AAuBA;;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;IAED;;;;;;;;;;;OAWG;IACH,mBAJW,MAAM,GAAC,MAAM,GACZ,mCAAmC,CAAC,WAAW,CAAC,GAAC,IAAI,CAUhE;IAED;;;;;OAKG;IACH,qBAHW,MAAM,GACL,WAAW,GAAC,IAAI,CAK3B;IAED;;;;;OAKG;IACH,aAHY,OAAO,sBAAsB,EAAE,OAAO,CAAC,WAAW,CAAC,GAAC,IAAI,CAKnE;IAED;;OAEG;IACH,eAFY,OAAO,CAIlB;IAED;;;;;OAKG;IACH,UAHY,MAAM,GAAC,OAAO,qBAAqB,EAAE,kBAAkB,GAAC,SAAS,CAK5E;IAED;;;OAGG;IACH,6BAuCC;IAED;;;;;OAKG;IACH,oBAJW,WAAW,GACV,OAAO,CASlB;IAED;;OAEG;IACH,WAFY,OAAO,CAYlB;IAED;;;;OAIG;IACH,qBAJW,OAAO,cAAc,EAAE,MAAM,cAC7B,MAAM,cACN,OAAO,uBAAuB,EAAE,OAAO,QAoDjD;IAWD;;;;OAIG;IACH,2BAHW,OAAO,cAAc,EAAE,MAAM,QAavC;IAED;;;;;;OAMG;IACH,yBAHW,KAAK,CAAC,WAAW,CAAC,QAW5B;IAED;;;;;;OAMG;IACH,uBAHW,WAAW,QAWrB;IAED;;;;;OAKG;IACH,yCAJW,WAAW,GACV,OAAO,CAyClB;IAED;;;;;OAKG;IACH,2BAOC;IAED;;;;;OAKG;IACH,kBAHW,OAAO,qBAAqB,EAAE,aAAa,QAKrD;IAED;;;;OAIG;IACH,YAHW,MAAM,GAAC,OAAO,qBAAqB,EAAE,kBAAkB,QAOjE;IAED;;OAEG;IACH,sBAFW,OAAO,QAKjB;CACF;0BAxpCyB,sBAAsB;uBAbzB,kBAAkB;mBAgBtB,aAAa"}
package/source/Vector.js CHANGED
@@ -841,15 +841,15 @@ class VectorSource extends Source {
841
841
  /**
842
842
  * Get the extent of the features currently in the source.
843
843
  *
844
- * This will return `null` when the source is configured with
844
+ * This method is not available when the source is configured with
845
845
  * `useSpatialIndex` set to `false`.
846
846
  * @param {import("../extent.js").Extent} [extent] Destination extent. If provided, no new extent
847
847
  * will be created. Instead, that extent's coordinates will be overwritten.
848
- * @return {import("../extent.js").Extent | null} Extent.
848
+ * @return {import("../extent.js").Extent} Extent.
849
849
  * @api
850
850
  */
851
851
  getExtent(extent) {
852
- return this.featuresRtree_?.getExtent(extent) ?? null;
852
+ return this.featuresRtree_.getExtent(extent);
853
853
  }
854
854
 
855
855
  /**
package/source/WMTS.d.ts CHANGED
@@ -47,10 +47,6 @@ export type Options = {
47
47
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
48
48
  */
49
49
  crossOrigin?: string | null | undefined;
50
- /**
51
- * The `referrerPolicy` property for loaded images.
52
- */
53
- referrerPolicy?: ReferrerPolicy | undefined;
54
50
  /**
55
51
  * Use interpolated values when resampling. By default,
56
52
  * linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
@@ -158,7 +154,6 @@ export type Options = {
158
154
  * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
159
155
  * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
160
156
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
161
- * @property {ReferrerPolicy} [referrerPolicy] The `referrerPolicy` property for loaded images.
162
157
  * @property {boolean} [interpolate=true] Use interpolated values when resampling. By default,
163
158
  * linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
164
159
  * @property {import("../tilegrid/WMTS.js").default} tileGrid Tile grid.
@@ -1 +1 @@
1
- {"version":3,"file":"WMTS.d.ts","sourceRoot":"","sources":["WMTS.js"],"names":[],"mappings":"AAoVA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,8DArBW,GAAO,GAkBN,OAAO,GAAC,IAAI,CA6OvB;;;;;8BAzkBY,KAAK,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAcb,OAAO,qBAAqB,EAAE,OAAO;;;;iBACrC,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;;;;;WAInC,MAAM;;;;WACN,MAAM;;;;;;;;;;;;;;;;;;;;;;;eAQN,MAAM;;;;;iBACN,GAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA9BrB;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH;;;;GAIG;AACH;IACE;;OAEG;IACH,qBAFW,OAAO,EAwFjB;IArDC;;;OAGG;IACH,iBAAyE;IAEzE;;;OAGG;IACH,gBAA2E;IAE3E;;;OAGG;IACH,oBAC4D;IAE5D;;;OAGG;IACH,eAA2B;IAE3B;;;OAGG;IACH,mBAAmC;IAEnC;;;OAGG;IACH,eAA2B;IAK3B;;;OAGG;IACH,yBAAuC;IA4BzC;;;;;;OAMG;IACH,iBAHY,GAAO,CAKlB;IAED;;;;OAIG;IACH,aAHY,MAAM,CAKjB;IAED;;;;OAIG;IACH,YAHY,MAAM,CAKjB;IAED;;;;OAIG;IACH,gBAHY,MAAM,CAKjB;IAED;;;;OAIG;IACH,sBAHY,eAAe,CAK1B;IAED;;;;OAIG;IACH,YAHY,MAAM,CAKjB;IAED;;;;OAIG;IACH,cAHY,MAAM,CAKjB;IAED;;;OAGG;IACH,6BAMC;IAED;;;;OAIG;IACH,wCAGC;IAED;;;OAGG;IACH,iCAHW,MAAM,GACL,OAAO,YAAY,EAAE,WAAW,CAkE3C;CACF;sBArUqB,gBAAgB"}
package/source/WMTS.js CHANGED
@@ -22,7 +22,6 @@ import TileImage from './TileImage.js';
22
22
  * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
23
23
  * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
24
24
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
25
- * @property {ReferrerPolicy} [referrerPolicy] The `referrerPolicy` property for loaded images.
26
25
  * @property {boolean} [interpolate=true] Use interpolated values when resampling. By default,
27
26
  * linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
28
27
  * @property {import("../tilegrid/WMTS.js").default} tileGrid Tile grid.
@@ -92,7 +91,6 @@ class WMTS extends TileImage {
92
91
  attributionsCollapsible: options.attributionsCollapsible,
93
92
  cacheSize: options.cacheSize,
94
93
  crossOrigin: options.crossOrigin,
95
- referrerPolicy: options.referrerPolicy,
96
94
  interpolate: options.interpolate,
97
95
  projection: options.projection,
98
96
  reprojectionErrorThreshold: options.reprojectionErrorThreshold,
package/source/XYZ.d.ts CHANGED
@@ -18,10 +18,6 @@ export type Options = {
18
18
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
19
19
  */
20
20
  crossOrigin?: string | null | undefined;
21
- /**
22
- * The `referrerPolicy` property for loaded images.
23
- */
24
- referrerPolicy?: ReferrerPolicy | undefined;
25
21
  /**
26
22
  * Use interpolated values when resampling. By default,
27
23
  * linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
@@ -119,7 +115,6 @@ export type Options = {
119
115
  * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
120
116
  * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
121
117
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
122
- * @property {ReferrerPolicy} [referrerPolicy] The `referrerPolicy` property for loaded images.
123
118
  * @property {boolean} [interpolate=true] Use interpolated values when resampling. By default,
124
119
  * linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
125
120
  * @property {import("../proj.js").ProjectionLike} [projection='EPSG:3857'] Projection.
@@ -1 +1 @@
1
- {"version":3,"file":"XYZ.d.ts","sourceRoot":"","sources":["XYZ.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkBc,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAXjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH;IACE;;OAEG;IACH,sBAFW,OAAO,EA4CjB;IALC;;;OAGG;IACH,gBAAgE;CAUnE;sBA3HqB,gBAAgB"}
1
+ {"version":3,"file":"XYZ.d.ts","sourceRoot":"","sources":["XYZ.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiBc,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAVjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH;IACE;;OAEG;IACH,sBAFW,OAAO,EA2CjB;IALC;;;OAGG;IACH,gBAAgE;CAUnE;sBAzHqB,gBAAgB"}
package/source/XYZ.js CHANGED
@@ -13,7 +13,6 @@ import TileImage from './TileImage.js';
13
13
  * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
14
14
  * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
15
15
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
16
- * @property {ReferrerPolicy} [referrerPolicy] The `referrerPolicy` property for loaded images.
17
16
  * @property {boolean} [interpolate=true] Use interpolated values when resampling. By default,
18
17
  * linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
19
18
  * @property {import("../proj.js").ProjectionLike} [projection='EPSG:3857'] Projection.
@@ -96,7 +95,6 @@ class XYZ extends TileImage {
96
95
  attributions: options.attributions,
97
96
  cacheSize: options.cacheSize,
98
97
  crossOrigin: options.crossOrigin,
99
- referrerPolicy: options.referrerPolicy,
100
98
  interpolate: options.interpolate,
101
99
  projection: projection,
102
100
  reprojectionErrorThreshold: options.reprojectionErrorThreshold,
@@ -7,11 +7,11 @@ export class CustomTile extends ImageTile {
7
7
  * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
8
8
  * @param {import("../TileState.js").default} state State.
9
9
  * @param {string} src Image source URI.
10
- * @param {import('../dom.js').ImageAttributes} imageAttributes Image attributes options.
10
+ * @param {?string} crossOrigin Cross origin.
11
11
  * @param {import("../Tile.js").LoadFunction} tileLoadFunction Tile load function.
12
12
  * @param {import("../Tile.js").Options} [options] Tile options.
13
13
  */
14
- constructor(tileSize: import("../size.js").Size, tileCoord: import("../tilecoord.js").TileCoord, state: any, src: string, imageAttributes: import("../dom.js").ImageAttributes, tileLoadFunction: import("../Tile.js").LoadFunction, options?: import("../Tile.js").Options);
14
+ constructor(tileSize: import("../size.js").Size, tileCoord: import("../tilecoord.js").TileCoord, state: any, src: string, crossOrigin: string | null, tileLoadFunction: import("../Tile.js").LoadFunction, options?: import("../Tile.js").Options);
15
15
  /**
16
16
  * @private
17
17
  * @type {HTMLCanvasElement|OffscreenCanvas|HTMLImageElement|HTMLVideoElement}
@@ -40,10 +40,6 @@ export type Options = {
40
40
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
41
41
  */
42
42
  crossOrigin?: string | null | undefined;
43
- /**
44
- * The `referrerPolicy` property for loaded images.
45
- */
46
- referrerPolicy?: ReferrerPolicy | undefined;
47
43
  /**
48
44
  * Use interpolated values when resampling. By default,
49
45
  * linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
@@ -115,7 +111,6 @@ import ImageTile from '../ImageTile.js';
115
111
  * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
116
112
  * you must provide a `crossOrigin` value you want to access pixel data with the Canvas renderer.
117
113
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
118
- * @property {ReferrerPolicy} [referrerPolicy] The `referrerPolicy` property for loaded images.
119
114
  * @property {boolean} [interpolate=true] Use interpolated values when resampling. By default,
120
115
  * linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
121
116
  * @property {import("../proj.js").ProjectionLike} [projection] Projection.
@@ -1 +1 @@
1
- {"version":3,"file":"Zoomify.d.ts","sourceRoot":"","sources":["Zoomify.js"],"names":[],"mappings":"AAeA;;GAEG;AAEH;IACE;;;;;;;;OAQG;IACH,sBARW,OAAO,YAAY,EAAE,IAAI,aACzB,OAAO,iBAAiB,EAAE,SAAS,mBAEnC,MAAM,mBACN,OAAO,WAAW,EAAE,eAAe,oBACnC,OAAO,YAAY,EAAE,YAAY,YACjC,OAAO,YAAY,EAAE,OAAO,EAwBtC;IAXC;;;OAGG;IACH,sBAAyB;IAEzB;;;OAGG;IACH,kBAAyB;CA0B5B;;kCA5DY,SAAS,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwEtB,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;SAInC,MAAM;;;;;;;;UAYN,OAAO,YAAY,EAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;sBApGjB,iBAAiB;AA0EvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH;;;;;GAKG;AACH;IACE;;OAEG;IACH,qBAFW,OAAO,EA6JjB;CACF;sBA/QqB,gBAAgB"}
1
+ {"version":3,"file":"Zoomify.d.ts","sourceRoot":"","sources":["Zoomify.js"],"names":[],"mappings":"AAeA;;GAEG;AAEH;IACE;;;;;;;;OAQG;IACH,sBARW,OAAO,YAAY,EAAE,IAAI,aACzB,OAAO,iBAAiB,EAAE,SAAS,mBAEnC,MAAM,eACL,MAAM,OAAA,oBACP,OAAO,YAAY,EAAE,YAAY,YACjC,OAAO,YAAY,EAAE,OAAO,EAwBtC;IAXC;;;OAGG;IACH,sBAAyB;IAEzB;;;OAGG;IACH,kBAAyB;CA0B5B;;kCA5DY,SAAS,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;;;iBAuEtB,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;SAInC,MAAM;;;;;;;;UAYN,OAAO,YAAY,EAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;sBAnGjB,iBAAiB;AA0EvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH;;;;;GAKG;AACH;IACE;;OAEG;IACH,qBAFW,OAAO,EA4JjB;CACF;sBA7QqB,gBAAgB"}
package/source/Zoomify.js CHANGED
@@ -23,7 +23,7 @@ export class CustomTile extends ImageTile {
23
23
  * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
24
24
  * @param {import("../TileState.js").default} state State.
25
25
  * @param {string} src Image source URI.
26
- * @param {import('../dom.js').ImageAttributes} imageAttributes Image attributes options.
26
+ * @param {?string} crossOrigin Cross origin.
27
27
  * @param {import("../Tile.js").LoadFunction} tileLoadFunction Tile load function.
28
28
  * @param {import("../Tile.js").Options} [options] Tile options.
29
29
  */
@@ -32,11 +32,11 @@ export class CustomTile extends ImageTile {
32
32
  tileCoord,
33
33
  state,
34
34
  src,
35
- imageAttributes,
35
+ crossOrigin,
36
36
  tileLoadFunction,
37
37
  options,
38
38
  ) {
39
- super(tileCoord, state, src, imageAttributes, tileLoadFunction, options);
39
+ super(tileCoord, state, src, crossOrigin, tileLoadFunction, options);
40
40
 
41
41
  /**
42
42
  * @private
@@ -83,7 +83,6 @@ export class CustomTile extends ImageTile {
83
83
  * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
84
84
  * you must provide a `crossOrigin` value you want to access pixel data with the Canvas renderer.
85
85
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
86
- * @property {ReferrerPolicy} [referrerPolicy] The `referrerPolicy` property for loaded images.
87
86
  * @property {boolean} [interpolate=true] Use interpolated values when resampling. By default,
88
87
  * linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
89
88
  * @property {import("../proj.js").ProjectionLike} [projection] Projection.
@@ -250,7 +249,6 @@ class Zoomify extends TileImage {
250
249
  attributions: options.attributions,
251
250
  cacheSize: options.cacheSize,
252
251
  crossOrigin: options.crossOrigin,
253
- referrerPolicy: options.referrerPolicy,
254
252
  interpolate: options.interpolate,
255
253
  projection: options.projection,
256
254
  tilePixelRatio: tilePixelRatio,
@@ -13,7 +13,6 @@ export function getRequestUrl(baseUrl: string, extent: import("../extent.js").Ex
13
13
  * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
14
14
  * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
15
15
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
16
- * @property {ReferrerPolicy} [referrerPolicy] The `referrerPolicy` property for loaded images.
17
16
  * @property {boolean} [hidpi=true] Use the `ol/Map#pixelRatio` value when requesting the image from
18
17
  * the remote server.
19
18
  * @property {Object<string,*>} [params] ArcGIS Rest parameters. This field is optional. Service
@@ -47,10 +46,6 @@ export type LoaderOptions = {
47
46
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
48
47
  */
49
48
  crossOrigin?: string | null | undefined;
50
- /**
51
- * The `referrerPolicy` property for loaded images.
52
- */
53
- referrerPolicy?: ReferrerPolicy | undefined;
54
49
  /**
55
50
  * Use the `ol/Map#pixelRatio` value when requesting the image from
56
51
  * the remote server.
@@ -1 +1 @@
1
- {"version":3,"file":"arcgisRest.d.ts","sourceRoot":"","sources":["arcgisRest.js"],"names":[],"mappings":"AAYA;;;;;;;;GAQG;AACH,uCARW,MAAM,UACN,OAAO,cAAc,EAAE,MAAM,cAC7B,MAAM,cACN,MAAM,cACN,OAAO,uBAAuB,EAAE,OAAO,gBAEtC,MAAM,CAqCjB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH;;;;;GAKG;AACH,sCAJW,aAAa,GACZ,OAAO,aAAa,EAAE,wBAAwB,CA2CzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA1Da,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;SAKnC,MAAM;;;;;;mBAEG,gBAAgB,QAAE,MAAM,KAAG,OAAO,CAAC,OAAO,gBAAgB,EAAE,SAAS,CAAC"}
1
+ {"version":3,"file":"arcgisRest.d.ts","sourceRoot":"","sources":["arcgisRest.js"],"names":[],"mappings":"AAYA;;;;;;;;GAQG;AACH,uCARW,MAAM,UACN,OAAO,cAAc,EAAE,MAAM,cAC7B,MAAM,cACN,MAAM,cACN,OAAO,uBAAuB,EAAE,OAAO,gBAEtC,MAAM,CAqCjB;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH;;;;;GAKG;AACH,sCAJW,aAAa,GACZ,OAAO,aAAa,EAAE,wBAAwB,CAuCzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAtDa,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;SAKnC,MAAM;;;;;;mBAEG,gBAAgB,QAAE,MAAM,KAAG,OAAO,CAAC,OAAO,gBAAgB,EAAE,SAAS,CAAC"}
@@ -61,7 +61,6 @@ export function getRequestUrl(
61
61
  * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
62
62
  * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
63
63
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
64
- * @property {ReferrerPolicy} [referrerPolicy] The `referrerPolicy` property for loaded images.
65
64
  * @property {boolean} [hidpi=true] Use the `ol/Map#pixelRatio` value when requesting the image from
66
65
  * the remote server.
67
66
  * @property {Object<string,*>} [params] ArcGIS Rest parameters. This field is optional. Service
@@ -93,7 +92,6 @@ export function createLoader(options) {
93
92
  const projection = getProjection(options.projection || 'EPSG:3857');
94
93
  const ratio = options.ratio ?? 1.5;
95
94
  const crossOrigin = options.crossOrigin ?? null;
96
- const referrerPolicy = options.referrerPolicy;
97
95
 
98
96
  return function (extent, resolution, pixelRatio) {
99
97
  pixelRatio = options.hidpi ? pixelRatio : 1;
@@ -118,9 +116,6 @@ export function createLoader(options) {
118
116
 
119
117
  const image = new Image();
120
118
  image.crossOrigin = crossOrigin;
121
- if (referrerPolicy !== undefined) {
122
- image.referrerPolicy = referrerPolicy;
123
- }
124
119
 
125
120
  return load(image, src).then((image) => {
126
121
  // Update resolution, because the server may return a smaller size than requested
@@ -16,10 +16,6 @@ export type LoaderOptions = {
16
16
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
17
17
  */
18
18
  crossOrigin?: string | null | undefined;
19
- /**
20
- * The `referrerPolicy` property for loaded images.
21
- */
22
- referrerPolicy?: ReferrerPolicy | undefined;
23
19
  /**
24
20
  * The display resolution.
25
21
  */
@@ -1 +1 @@
1
- {"version":3,"file":"mapguide.d.ts","sourceRoot":"","sources":["mapguide.js"],"names":[],"mappings":"AAsFA;;;;;GAKG;AACH,sCAJW,aAAa,GACZ,OAAO,aAAa,EAAE,wBAAwB,CAiCzD;;;;;SA/Ga,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAaG,gBAAgB,QAAE,MAAM,KAAG,OAAO,CAAC,OAAO,gBAAgB,EAAE,SAAS,CAAC"}
1
+ {"version":3,"file":"mapguide.d.ts","sourceRoot":"","sources":["mapguide.js"],"names":[],"mappings":"AAqFA;;;;;GAKG;AACH,sCAJW,aAAa,GACZ,OAAO,aAAa,EAAE,wBAAwB,CA6BzD;;;;;SA1Ga,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAYG,gBAAgB,QAAE,MAAM,KAAG,OAAO,CAAC,OAAO,gBAAgB,EAAE,SAAS,CAAC"}
@@ -13,7 +13,6 @@ import {getRequestExtent} from './Image.js';
13
13
  * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
14
14
  * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
15
15
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
16
- * @property {ReferrerPolicy} [referrerPolicy] The `referrerPolicy` property for loaded images.
17
16
  * @property {number} [displayDpi=96] The display resolution.
18
17
  * @property {number} [metersPerUnit=1] The meters-per-unit value.
19
18
  * @property {boolean} [hidpi=true] Use the `ol/Map#pixelRatio` value when requesting
@@ -97,14 +96,10 @@ export function createLoader(options) {
97
96
  const displayDpi = options.displayDpi || 96;
98
97
  const ratio = options.ratio ?? 1;
99
98
  const crossOrigin = options.crossOrigin ?? null;
100
- const referrerPolicy = options.referrerPolicy;
101
99
 
102
100
  return function (extent, resolution, pixelRatio) {
103
101
  const image = new Image();
104
102
  image.crossOrigin = crossOrigin;
105
- if (referrerPolicy !== undefined) {
106
- image.referrerPolicy = referrerPolicy;
107
- }
108
103
  extent = getRequestExtent(extent, resolution, pixelRatio, ratio);
109
104
  const width = getWidth(extent) / resolution;
110
105
  const height = getHeight(extent) / resolution;
@@ -16,13 +16,9 @@ export type LoaderOptions = {
16
16
  * The `crossOrigin` attribute for loaded images. Note that
17
17
  * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
18
18
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
19
- */
20
- crossOrigin?: string | null | undefined;
21
- /**
22
- * The `referrerPolicy` property for loaded images.
23
19
  * the image from the remote server.
24
20
  */
25
- referrerPolicy?: ReferrerPolicy | undefined;
21
+ crossOrigin?: string | null | undefined;
26
22
  /**
27
23
  * Ratio. `1` means image requests are the size of the map viewport, `2` means
28
24
  * twice the width and height of the map viewport, and so on. Must be `1` or higher.
@@ -1 +1 @@
1
- {"version":3,"file":"mapserver.d.ts","sourceRoot":"","sources":["mapserver.js"],"names":[],"mappings":"AAoDA;;;;;;;GAOG;AACH,sCAJW,aAAa,GACZ,OAAO,aAAa,EAAE,wBAAwB,CAsBzD;;;;;SApEa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;mBASG,gBAAgB,QAAE,MAAM,KAAG,OAAO,CAAC,OAAO,gBAAgB,EAAE,SAAS,CAAC"}
1
+ {"version":3,"file":"mapserver.d.ts","sourceRoot":"","sources":["mapserver.js"],"names":[],"mappings":"AAmDA;;;;;;;GAOG;AACH,sCAJW,aAAa,GACZ,OAAO,aAAa,EAAE,wBAAwB,CAmBzD;;;;;SAhEa,MAAM;;;;;;;;;;;;;;;;;;;;;;mBAQG,gBAAgB,QAAE,MAAM,KAAG,OAAO,CAAC,OAAO,gBAAgB,EAAE,SAAS,CAAC"}
@@ -13,7 +13,6 @@ import {getRequestExtent} from './Image.js';
13
13
  * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
14
14
  * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
15
15
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
16
- * @property {ReferrerPolicy} [referrerPolicy] The `referrerPolicy` property for loaded images.
17
16
  * the image from the remote server.
18
17
  * @property {number} [ratio=1] Ratio. `1` means image requests are the size of the map viewport, `2` means
19
18
  * twice the width and height of the map viewport, and so on. Must be `1` or higher.
@@ -67,9 +66,6 @@ export function createLoader(options) {
67
66
  return function (extent, resolution, pixelRatio) {
68
67
  const image = new Image();
69
68
  image.crossOrigin = crossOrigin;
70
- if (options.referrerPolicy !== undefined) {
71
- image.referrerPolicy = options.referrerPolicy;
72
- }
73
69
  extent = getRequestExtent(extent, resolution, pixelRatio, ratio);
74
70
  const width = getWidth(extent) / resolution;
75
71
  const height = getHeight(extent) / resolution;
@@ -1,16 +1,16 @@
1
1
  /**
2
2
  * @typedef {Object} TileSetInfo
3
- * @property {string} [urlTemplate] The tile URL template.
3
+ * @property {string} urlTemplate The tile URL template.
4
4
  * @property {import("../proj/Projection.js").default} projection The source projection.
5
- * @property {import("../tilegrid/WMTS.js").default} grid The tile grid.
6
- * @property {import("../Tile.js").UrlFunction} [urlFunction] The tile URL function.
5
+ * @property {import("../tilegrid/TileGrid.js").default} grid The tile grid.
6
+ * @property {import("../Tile.js").UrlFunction} urlFunction The tile URL function.
7
7
  */
8
8
  /**
9
9
  * @typedef {Object} SourceInfo
10
- * @property {string} [url] The tile set URL.
11
- * @property {string} [mediaType] The preferred tile media type.
10
+ * @property {string} url The tile set URL.
11
+ * @property {string} mediaType The preferred tile media type.
12
12
  * @property {Array<string>} [supportedMediaTypes] The supported media types.
13
- * @property {import("../proj/Projection.js").default} [projection] The source projection.
13
+ * @property {import("../proj/Projection.js").default} projection The source projection.
14
14
  * @property {Object} [context] Optional context for constructing the URL.
15
15
  * @property {Array<string>} [collections] Optional collections to append the URL with.
16
16
  */
@@ -35,14 +35,6 @@ export function getMapTileUrlTemplate(links: Array<Link>, mediaType?: string, co
35
35
  * @return {string} The tile URL template.
36
36
  */
37
37
  export function getVectorTileUrlTemplate(links: Array<Link>, mediaType?: string, supportedMediaTypes?: Array<string>, collections?: Array<string>): string;
38
- /**
39
- * @param {SourceInfo} sourceInfo The source info.
40
- * @param {TileMatrixSet} tileMatrixSet Tile matrix set.
41
- * @param {string} [tileUrlTemplate] Tile URL template.
42
- * @param {Array<TileMatrixSetLimit>} [tileMatrixSetLimits] Tile matrix set limits.
43
- * @return {TileSetInfo} Tile set info.
44
- */
45
- export function parseTileMatrixSet(sourceInfo: SourceInfo, tileMatrixSet: TileMatrixSet, tileUrlTemplate?: string, tileMatrixSetLimits?: Array<TileMatrixSetLimit>): TileSetInfo;
46
38
  /**
47
39
  * @param {SourceInfo} sourceInfo Source info.
48
40
  * @return {Promise<TileSetInfo>} Tile set info.
@@ -52,7 +44,7 @@ export type TileSetInfo = {
52
44
  /**
53
45
  * The tile URL template.
54
46
  */
55
- urlTemplate?: string | undefined;
47
+ urlTemplate: string;
56
48
  /**
57
49
  * The source projection.
58
50
  */
@@ -60,21 +52,21 @@ export type TileSetInfo = {
60
52
  /**
61
53
  * The tile grid.
62
54
  */
63
- grid: import("../tilegrid/WMTS.js").default;
55
+ grid: import("../tilegrid/TileGrid.js").default;
64
56
  /**
65
57
  * The tile URL function.
66
58
  */
67
- urlFunction?: import("../Tile.js").UrlFunction | undefined;
59
+ urlFunction: import("../Tile.js").UrlFunction;
68
60
  };
69
61
  export type SourceInfo = {
70
62
  /**
71
63
  * The tile set URL.
72
64
  */
73
- url?: string | undefined;
65
+ url: string;
74
66
  /**
75
67
  * The preferred tile media type.
76
68
  */
77
- mediaType?: string | undefined;
69
+ mediaType: string;
78
70
  /**
79
71
  * The supported media types.
80
72
  */
@@ -82,7 +74,7 @@ export type SourceInfo = {
82
74
  /**
83
75
  * The source projection.
84
76
  */
85
- projection?: import("../proj.js").Projection | undefined;
77
+ projection: import("../proj/Projection.js").default;
86
78
  /**
87
79
  * Optional context for constructing the URL.
88
80
  */