ol 7.0.0-dev.1660306204497 → 7.0.0-dev.1660487589130

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 (537) hide show
  1. package/Collection.d.ts +4 -4
  2. package/Collection.d.ts.map +1 -1
  3. package/Collection.js +8 -8
  4. package/Feature.d.ts +4 -4
  5. package/Feature.d.ts.map +1 -1
  6. package/Feature.js +10 -12
  7. package/Geolocation.d.ts +2 -2
  8. package/Geolocation.d.ts.map +1 -1
  9. package/Geolocation.js +3 -3
  10. package/ImageCanvas.d.ts +2 -2
  11. package/ImageCanvas.d.ts.map +1 -1
  12. package/ImageCanvas.js +4 -5
  13. package/ImageTile.d.ts +2 -2
  14. package/ImageTile.d.ts.map +1 -1
  15. package/ImageTile.js +3 -10
  16. package/Map.d.ts +12 -12
  17. package/Map.d.ts.map +1 -1
  18. package/Map.js +23 -23
  19. package/MapBrowserEvent.d.ts +4 -4
  20. package/MapBrowserEvent.d.ts.map +1 -1
  21. package/MapBrowserEvent.js +7 -14
  22. package/MapEvent.d.ts +2 -2
  23. package/MapEvent.d.ts.map +1 -1
  24. package/MapEvent.js +3 -3
  25. package/Object.d.ts +8 -8
  26. package/Object.d.ts.map +1 -1
  27. package/Object.js +13 -13
  28. package/Overlay.d.ts +2 -2
  29. package/Overlay.d.ts.map +1 -1
  30. package/Overlay.js +3 -3
  31. package/Tile.d.ts +2 -2
  32. package/Tile.d.ts.map +1 -1
  33. package/Tile.js +3 -3
  34. package/TileCache.d.ts +1 -1
  35. package/TileCache.d.ts.map +1 -1
  36. package/VectorTile.d.ts +2 -2
  37. package/VectorTile.d.ts.map +1 -1
  38. package/VectorTile.js +3 -3
  39. package/View.d.ts +55 -55
  40. package/View.d.ts.map +1 -1
  41. package/View.js +96 -103
  42. package/array.d.ts +5 -5
  43. package/array.d.ts.map +1 -1
  44. package/array.js +8 -8
  45. package/centerconstraint.js +6 -6
  46. package/control/Attribution.d.ts +2 -2
  47. package/control/Attribution.d.ts.map +1 -1
  48. package/control/Attribution.js +3 -3
  49. package/control/FullScreen.d.ts +2 -2
  50. package/control/FullScreen.d.ts.map +1 -1
  51. package/control/FullScreen.js +3 -3
  52. package/control/MousePosition.d.ts +2 -2
  53. package/control/MousePosition.d.ts.map +1 -1
  54. package/control/MousePosition.js +3 -3
  55. package/control/OverviewMap.d.ts +2 -2
  56. package/control/OverviewMap.d.ts.map +1 -1
  57. package/control/OverviewMap.js +3 -3
  58. package/control/Rotate.d.ts +2 -2
  59. package/control/Rotate.d.ts.map +1 -1
  60. package/control/Rotate.js +3 -3
  61. package/control/ScaleLine.d.ts +2 -2
  62. package/control/ScaleLine.d.ts.map +1 -1
  63. package/control/ScaleLine.js +3 -3
  64. package/control/Zoom.d.ts +2 -2
  65. package/control/Zoom.d.ts.map +1 -1
  66. package/control/Zoom.js +3 -3
  67. package/control/ZoomSlider.d.ts +2 -2
  68. package/control/ZoomSlider.d.ts.map +1 -1
  69. package/control/ZoomSlider.js +3 -3
  70. package/control/ZoomToExtent.d.ts +2 -2
  71. package/control/ZoomToExtent.d.ts.map +1 -1
  72. package/control/ZoomToExtent.js +3 -3
  73. package/control/defaults.d.ts +2 -2
  74. package/control/defaults.d.ts.map +1 -1
  75. package/control/defaults.js +3 -3
  76. package/coordinate.d.ts +12 -12
  77. package/coordinate.d.ts.map +1 -1
  78. package/coordinate.js +20 -21
  79. package/dom.d.ts +5 -5
  80. package/dom.d.ts.map +1 -1
  81. package/dom.js +13 -18
  82. package/events/Target.d.ts +4 -4
  83. package/events/Target.d.ts.map +1 -1
  84. package/events/Target.js +7 -7
  85. package/events.d.ts +5 -5
  86. package/events.d.ts.map +1 -1
  87. package/events.js +9 -9
  88. package/extent.d.ts +25 -25
  89. package/extent.d.ts.map +1 -1
  90. package/extent.js +66 -72
  91. package/format/EsriJSON.d.ts +11 -11
  92. package/format/EsriJSON.d.ts.map +1 -1
  93. package/format/EsriJSON.js +45 -50
  94. package/format/Feature.d.ts +18 -18
  95. package/format/Feature.d.ts.map +1 -1
  96. package/format/Feature.js +33 -41
  97. package/format/GML.d.ts +1 -1
  98. package/format/GML.js +3 -3
  99. package/format/GML2.d.ts +5 -5
  100. package/format/GML2.d.ts.map +1 -1
  101. package/format/GML2.js +15 -18
  102. package/format/GML3.d.ts +7 -7
  103. package/format/GML3.d.ts.map +1 -1
  104. package/format/GML3.js +26 -29
  105. package/format/GML32.d.ts.map +1 -1
  106. package/format/GML32.js +3 -5
  107. package/format/GMLBase.d.ts +6 -6
  108. package/format/GMLBase.d.ts.map +1 -1
  109. package/format/GMLBase.js +14 -14
  110. package/format/GPX.d.ts +2 -2
  111. package/format/GPX.d.ts.map +1 -1
  112. package/format/GPX.js +15 -17
  113. package/format/GeoJSON.d.ts +10 -10
  114. package/format/GeoJSON.d.ts.map +1 -1
  115. package/format/GeoJSON.js +60 -65
  116. package/format/IGC.d.ts +2 -2
  117. package/format/IGC.d.ts.map +1 -1
  118. package/format/IGC.js +9 -9
  119. package/format/IIIFInfo.d.ts +2 -2
  120. package/format/IIIFInfo.d.ts.map +1 -1
  121. package/format/IIIFInfo.js +3 -3
  122. package/format/JSONFeature.d.ts +22 -22
  123. package/format/JSONFeature.d.ts.map +1 -1
  124. package/format/JSONFeature.js +30 -30
  125. package/format/KML.d.ts +2 -2
  126. package/format/KML.d.ts.map +1 -1
  127. package/format/KML.js +22 -22
  128. package/format/MVT.d.ts +5 -5
  129. package/format/MVT.d.ts.map +1 -1
  130. package/format/MVT.js +7 -9
  131. package/format/OSMXML.js +3 -3
  132. package/format/Polyline.d.ts +16 -16
  133. package/format/Polyline.d.ts.map +1 -1
  134. package/format/Polyline.js +33 -37
  135. package/format/TextFeature.d.ts +22 -22
  136. package/format/TextFeature.d.ts.map +1 -1
  137. package/format/TextFeature.js +30 -30
  138. package/format/TopoJSON.d.ts +2 -2
  139. package/format/TopoJSON.d.ts.map +1 -1
  140. package/format/TopoJSON.js +13 -13
  141. package/format/WFS.d.ts +7 -7
  142. package/format/WFS.d.ts.map +1 -1
  143. package/format/WFS.js +15 -18
  144. package/format/WKB.d.ts +8 -8
  145. package/format/WKB.d.ts.map +1 -1
  146. package/format/WKB.js +21 -21
  147. package/format/WKT.d.ts +2 -2
  148. package/format/WKT.d.ts.map +1 -1
  149. package/format/WKT.js +25 -25
  150. package/format/WMSGetFeatureInfo.d.ts +2 -2
  151. package/format/WMSGetFeatureInfo.d.ts.map +1 -1
  152. package/format/WMSGetFeatureInfo.js +9 -9
  153. package/format/XMLFeature.d.ts +28 -28
  154. package/format/XMLFeature.d.ts.map +1 -1
  155. package/format/XMLFeature.js +44 -47
  156. package/format/filter/Bbox.d.ts +2 -2
  157. package/format/filter/Bbox.d.ts.map +1 -1
  158. package/format/filter/Bbox.js +3 -3
  159. package/format/filter/ComparisonBinary.d.ts +2 -2
  160. package/format/filter/ComparisonBinary.d.ts.map +1 -1
  161. package/format/filter/ComparisonBinary.js +3 -3
  162. package/format/filter/Contains.d.ts +2 -2
  163. package/format/filter/Contains.d.ts.map +1 -1
  164. package/format/filter/Contains.js +3 -3
  165. package/format/filter/DWithin.d.ts +2 -2
  166. package/format/filter/DWithin.d.ts.map +1 -1
  167. package/format/filter/DWithin.js +3 -3
  168. package/format/filter/Disjoint.d.ts +2 -2
  169. package/format/filter/Disjoint.d.ts.map +1 -1
  170. package/format/filter/Disjoint.js +3 -3
  171. package/format/filter/EqualTo.d.ts +2 -2
  172. package/format/filter/EqualTo.d.ts.map +1 -1
  173. package/format/filter/EqualTo.js +3 -3
  174. package/format/filter/Intersects.d.ts +2 -2
  175. package/format/filter/Intersects.d.ts.map +1 -1
  176. package/format/filter/Intersects.js +3 -3
  177. package/format/filter/IsLike.d.ts +5 -5
  178. package/format/filter/IsLike.d.ts.map +1 -1
  179. package/format/filter/IsLike.js +12 -12
  180. package/format/filter/NotEqualTo.d.ts +2 -2
  181. package/format/filter/NotEqualTo.d.ts.map +1 -1
  182. package/format/filter/NotEqualTo.js +3 -3
  183. package/format/filter/Spatial.d.ts +2 -2
  184. package/format/filter/Spatial.d.ts.map +1 -1
  185. package/format/filter/Spatial.js +3 -3
  186. package/format/filter/Within.d.ts +2 -2
  187. package/format/filter/Within.d.ts.map +1 -1
  188. package/format/filter/Within.js +3 -3
  189. package/format/filter.d.ts +21 -21
  190. package/format/filter.d.ts.map +1 -1
  191. package/format/filter.js +36 -36
  192. package/geom/Circle.d.ts +8 -8
  193. package/geom/Circle.d.ts.map +1 -1
  194. package/geom/Circle.js +13 -13
  195. package/geom/Geometry.d.ts +10 -10
  196. package/geom/Geometry.d.ts.map +1 -1
  197. package/geom/Geometry.js +16 -16
  198. package/geom/GeometryCollection.d.ts +2 -2
  199. package/geom/GeometryCollection.d.ts.map +1 -1
  200. package/geom/GeometryCollection.js +7 -8
  201. package/geom/LineString.d.ts +11 -11
  202. package/geom/LineString.d.ts.map +1 -1
  203. package/geom/LineString.js +17 -17
  204. package/geom/LinearRing.d.ts +5 -5
  205. package/geom/LinearRing.d.ts.map +1 -1
  206. package/geom/LinearRing.js +9 -9
  207. package/geom/MultiLineString.d.ts +14 -14
  208. package/geom/MultiLineString.d.ts.map +1 -1
  209. package/geom/MultiLineString.js +21 -21
  210. package/geom/MultiPoint.d.ts +5 -5
  211. package/geom/MultiPoint.d.ts.map +1 -1
  212. package/geom/MultiPoint.js +9 -9
  213. package/geom/MultiPolygon.d.ts +8 -8
  214. package/geom/MultiPolygon.d.ts.map +1 -1
  215. package/geom/MultiPolygon.js +22 -22
  216. package/geom/Point.d.ts +2 -2
  217. package/geom/Point.d.ts.map +1 -1
  218. package/geom/Point.js +6 -6
  219. package/geom/Polygon.d.ts +16 -16
  220. package/geom/Polygon.d.ts.map +1 -1
  221. package/geom/Polygon.js +28 -28
  222. package/geom/SimpleGeometry.d.ts +4 -4
  223. package/geom/SimpleGeometry.d.ts.map +1 -1
  224. package/geom/SimpleGeometry.js +8 -10
  225. package/geom/flat/closest.d.ts +6 -6
  226. package/geom/flat/closest.d.ts.map +1 -1
  227. package/geom/flat/closest.js +9 -9
  228. package/geom/flat/deflate.d.ts +4 -4
  229. package/geom/flat/deflate.d.ts.map +1 -1
  230. package/geom/flat/deflate.js +6 -6
  231. package/geom/flat/flip.d.ts +3 -3
  232. package/geom/flat/flip.d.ts.map +1 -1
  233. package/geom/flat/flip.js +6 -14
  234. package/geom/flat/inflate.d.ts +6 -6
  235. package/geom/flat/inflate.d.ts.map +1 -1
  236. package/geom/flat/inflate.js +9 -10
  237. package/geom/flat/interiorpoint.d.ts +2 -2
  238. package/geom/flat/interiorpoint.d.ts.map +1 -1
  239. package/geom/flat/interiorpoint.js +5 -5
  240. package/geom/flat/interpolate.d.ts +3 -3
  241. package/geom/flat/interpolate.d.ts.map +1 -1
  242. package/geom/flat/interpolate.js +6 -6
  243. package/geom/flat/orient.d.ts +12 -12
  244. package/geom/flat/orient.d.ts.map +1 -1
  245. package/geom/flat/orient.js +16 -18
  246. package/geom/flat/simplify.d.ts +2 -2
  247. package/geom/flat/simplify.d.ts.map +1 -1
  248. package/geom/flat/simplify.js +4 -6
  249. package/geom/flat/transform.d.ts +8 -8
  250. package/geom/flat/transform.d.ts.map +1 -1
  251. package/geom/flat/transform.js +16 -16
  252. package/interaction/DoubleClickZoom.d.ts +2 -2
  253. package/interaction/DoubleClickZoom.d.ts.map +1 -1
  254. package/interaction/DoubleClickZoom.js +3 -3
  255. package/interaction/DragAndDrop.d.ts +5 -5
  256. package/interaction/DragAndDrop.d.ts.map +1 -1
  257. package/interaction/DragAndDrop.js +8 -8
  258. package/interaction/DragBox.d.ts +2 -2
  259. package/interaction/DragBox.d.ts.map +1 -1
  260. package/interaction/DragBox.js +3 -3
  261. package/interaction/DragPan.d.ts +2 -2
  262. package/interaction/DragPan.d.ts.map +1 -1
  263. package/interaction/DragPan.js +3 -3
  264. package/interaction/DragRotate.d.ts +2 -2
  265. package/interaction/DragRotate.d.ts.map +1 -1
  266. package/interaction/DragRotate.js +3 -3
  267. package/interaction/DragRotateAndZoom.d.ts +2 -2
  268. package/interaction/DragRotateAndZoom.d.ts.map +1 -1
  269. package/interaction/DragRotateAndZoom.js +3 -3
  270. package/interaction/DragZoom.d.ts +2 -2
  271. package/interaction/DragZoom.d.ts.map +1 -1
  272. package/interaction/DragZoom.js +3 -3
  273. package/interaction/Draw.d.ts +3 -3
  274. package/interaction/Draw.d.ts.map +1 -1
  275. package/interaction/Draw.js +15 -13
  276. package/interaction/Extent.d.ts +2 -2
  277. package/interaction/Extent.d.ts.map +1 -1
  278. package/interaction/Extent.js +13 -13
  279. package/interaction/Interaction.d.ts +7 -7
  280. package/interaction/Interaction.d.ts.map +1 -1
  281. package/interaction/Interaction.js +12 -12
  282. package/interaction/KeyboardPan.d.ts +2 -2
  283. package/interaction/KeyboardPan.d.ts.map +1 -1
  284. package/interaction/KeyboardPan.js +3 -3
  285. package/interaction/KeyboardZoom.d.ts +2 -2
  286. package/interaction/KeyboardZoom.d.ts.map +1 -1
  287. package/interaction/KeyboardZoom.js +3 -3
  288. package/interaction/Link.d.ts +2 -2
  289. package/interaction/Link.d.ts.map +1 -1
  290. package/interaction/Link.js +4 -4
  291. package/interaction/Modify.d.ts +1 -1
  292. package/interaction/Modify.js +3 -3
  293. package/interaction/MouseWheelZoom.d.ts +2 -2
  294. package/interaction/MouseWheelZoom.d.ts.map +1 -1
  295. package/interaction/MouseWheelZoom.js +3 -3
  296. package/interaction/PinchRotate.d.ts +2 -2
  297. package/interaction/PinchRotate.d.ts.map +1 -1
  298. package/interaction/PinchRotate.js +3 -3
  299. package/interaction/PinchZoom.d.ts +2 -2
  300. package/interaction/PinchZoom.d.ts.map +1 -1
  301. package/interaction/PinchZoom.js +3 -3
  302. package/interaction/Pointer.d.ts +2 -2
  303. package/interaction/Pointer.d.ts.map +1 -1
  304. package/interaction/Pointer.js +3 -3
  305. package/interaction/Select.d.ts +2 -2
  306. package/interaction/Select.d.ts.map +1 -1
  307. package/interaction/Select.js +3 -3
  308. package/interaction/Snap.d.ts +6 -6
  309. package/interaction/Snap.d.ts.map +1 -1
  310. package/interaction/Snap.js +9 -9
  311. package/interaction/Translate.d.ts +2 -2
  312. package/interaction/Translate.d.ts.map +1 -1
  313. package/interaction/Translate.js +3 -3
  314. package/interaction/defaults.d.ts +2 -2
  315. package/interaction/defaults.d.ts.map +1 -1
  316. package/interaction/defaults.js +3 -3
  317. package/layer/Base.d.ts +8 -8
  318. package/layer/Base.d.ts.map +1 -1
  319. package/layer/Base.js +10 -10
  320. package/layer/BaseImage.d.ts +2 -2
  321. package/layer/BaseImage.d.ts.map +1 -1
  322. package/layer/BaseImage.js +3 -3
  323. package/layer/BaseTile.d.ts +2 -2
  324. package/layer/BaseTile.d.ts.map +1 -1
  325. package/layer/BaseTile.js +3 -3
  326. package/layer/BaseVector.d.ts +4 -4
  327. package/layer/BaseVector.d.ts.map +1 -1
  328. package/layer/BaseVector.js +21 -21
  329. package/layer/Graticule.d.ts +2 -2
  330. package/layer/Graticule.d.ts.map +1 -1
  331. package/layer/Graticule.js +6 -10
  332. package/layer/Group.d.ts +2 -2
  333. package/layer/Group.d.ts.map +1 -1
  334. package/layer/Group.js +11 -11
  335. package/layer/Heatmap.d.ts +2 -2
  336. package/layer/Heatmap.d.ts.map +1 -1
  337. package/layer/Heatmap.js +3 -3
  338. package/layer/Image.d.ts +2 -2
  339. package/layer/Image.d.ts.map +1 -1
  340. package/layer/Image.js +3 -3
  341. package/layer/Layer.js +6 -6
  342. package/layer/Tile.d.ts +2 -2
  343. package/layer/Tile.d.ts.map +1 -1
  344. package/layer/Tile.js +3 -3
  345. package/layer/Vector.d.ts +2 -2
  346. package/layer/Vector.d.ts.map +1 -1
  347. package/layer/Vector.js +3 -3
  348. package/layer/VectorImage.d.ts +2 -2
  349. package/layer/VectorImage.d.ts.map +1 -1
  350. package/layer/VectorImage.js +3 -3
  351. package/layer/VectorTile.d.ts +3 -3
  352. package/layer/VectorTile.d.ts.map +1 -1
  353. package/layer/VectorTile.js +4 -4
  354. package/layer/WebGLTile.d.ts +2 -2
  355. package/layer/WebGLTile.d.ts.map +1 -1
  356. package/layer/WebGLTile.js +3 -3
  357. package/net.d.ts +3 -3
  358. package/net.d.ts.map +1 -1
  359. package/net.js +6 -6
  360. package/package.json +1 -1
  361. package/proj/epsg3857.d.ts +6 -6
  362. package/proj/epsg3857.d.ts.map +1 -1
  363. package/proj/epsg3857.js +8 -10
  364. package/proj/epsg4326.js +3 -3
  365. package/proj.d.ts +16 -16
  366. package/proj.d.ts.map +1 -1
  367. package/proj.js +38 -39
  368. package/render/Event.d.ts +4 -4
  369. package/render/Event.d.ts.map +1 -1
  370. package/render/Event.js +7 -7
  371. package/render/Feature.d.ts +4 -4
  372. package/render/Feature.d.ts.map +1 -1
  373. package/render/Feature.js +6 -6
  374. package/render/VectorContext.d.ts +4 -4
  375. package/render/VectorContext.d.ts.map +1 -1
  376. package/render/VectorContext.js +4 -4
  377. package/render/canvas/Executor.d.ts +8 -8
  378. package/render/canvas/Executor.d.ts.map +1 -1
  379. package/render/canvas/Executor.js +31 -33
  380. package/render/canvas/ExecutorGroup.d.ts +5 -5
  381. package/render/canvas/ExecutorGroup.d.ts.map +1 -1
  382. package/render/canvas/ExecutorGroup.js +10 -10
  383. package/render/canvas/ImageBuilder.d.ts +2 -2
  384. package/render/canvas/ImageBuilder.d.ts.map +1 -1
  385. package/render/canvas/ImageBuilder.js +3 -3
  386. package/render/canvas/Immediate.d.ts +3 -3
  387. package/render/canvas/Immediate.d.ts.map +1 -1
  388. package/render/canvas/Immediate.js +6 -6
  389. package/render/canvas/TextBuilder.d.ts +2 -2
  390. package/render/canvas/TextBuilder.d.ts.map +1 -1
  391. package/render/canvas/TextBuilder.js +3 -3
  392. package/render/webgl/utils.d.ts +2 -2
  393. package/render/webgl/utils.d.ts.map +1 -1
  394. package/render/webgl/utils.js +3 -3
  395. package/render.d.ts +2 -2
  396. package/render.d.ts.map +1 -1
  397. package/render.js +3 -3
  398. package/renderer/canvas/Layer.d.ts +2 -2
  399. package/renderer/canvas/Layer.d.ts.map +1 -1
  400. package/renderer/canvas/Layer.js +6 -6
  401. package/renderer/canvas/TileLayer.d.ts +2 -2
  402. package/renderer/canvas/TileLayer.d.ts.map +1 -1
  403. package/renderer/canvas/TileLayer.js +4 -4
  404. package/renderer/canvas/VectorLayer.d.ts +5 -5
  405. package/renderer/canvas/VectorLayer.d.ts.map +1 -1
  406. package/renderer/canvas/VectorLayer.js +11 -11
  407. package/renderer/canvas/VectorTileLayer.d.ts +2 -2
  408. package/renderer/canvas/VectorTileLayer.d.ts.map +1 -1
  409. package/renderer/canvas/VectorTileLayer.js +4 -4
  410. package/renderer/vector.d.ts +3 -3
  411. package/renderer/vector.d.ts.map +1 -1
  412. package/renderer/vector.js +42 -42
  413. package/renderer/webgl/Layer.d.ts +2 -2
  414. package/renderer/webgl/Layer.d.ts.map +1 -1
  415. package/renderer/webgl/Layer.js +3 -3
  416. package/reproj/Tile.d.ts +4 -4
  417. package/reproj/Tile.d.ts.map +1 -1
  418. package/reproj/Tile.js +9 -9
  419. package/reproj/Triangulation.d.ts +2 -2
  420. package/reproj/Triangulation.d.ts.map +1 -1
  421. package/reproj/Triangulation.js +4 -7
  422. package/reproj.d.ts +3 -3
  423. package/reproj.d.ts.map +1 -1
  424. package/reproj.js +8 -8
  425. package/resolutionconstraint.d.ts +13 -13
  426. package/resolutionconstraint.d.ts.map +1 -1
  427. package/resolutionconstraint.js +44 -43
  428. package/rotationconstraint.d.ts +2 -2
  429. package/rotationconstraint.d.ts.map +1 -1
  430. package/rotationconstraint.js +9 -9
  431. package/size.d.ts +6 -6
  432. package/size.d.ts.map +1 -1
  433. package/size.js +21 -21
  434. package/source/Cluster.js +3 -3
  435. package/source/IIIF.d.ts +2 -2
  436. package/source/IIIF.d.ts.map +1 -1
  437. package/source/IIIF.js +26 -26
  438. package/source/ImageArcGISRest.d.ts +2 -2
  439. package/source/ImageArcGISRest.d.ts.map +1 -1
  440. package/source/ImageArcGISRest.js +3 -3
  441. package/source/ImageCanvas.d.ts +2 -2
  442. package/source/ImageCanvas.d.ts.map +1 -1
  443. package/source/ImageCanvas.js +3 -3
  444. package/source/ImageWMS.d.ts +7 -7
  445. package/source/ImageWMS.d.ts.map +1 -1
  446. package/source/ImageWMS.js +5 -5
  447. package/source/OSM.d.ts +2 -2
  448. package/source/OSM.d.ts.map +1 -1
  449. package/source/OSM.js +3 -3
  450. package/source/Raster.d.ts +2 -2
  451. package/source/Raster.d.ts.map +1 -1
  452. package/source/Raster.js +3 -3
  453. package/source/Tile.d.ts +2 -2
  454. package/source/Tile.d.ts.map +1 -1
  455. package/source/Tile.js +3 -4
  456. package/source/TileArcGISRest.d.ts +2 -2
  457. package/source/TileArcGISRest.d.ts.map +1 -1
  458. package/source/TileArcGISRest.js +3 -3
  459. package/source/TileDebug.d.ts +2 -2
  460. package/source/TileDebug.d.ts.map +1 -1
  461. package/source/TileDebug.js +3 -3
  462. package/source/TileWMS.d.ts +2 -2
  463. package/source/TileWMS.d.ts.map +1 -1
  464. package/source/TileWMS.js +3 -3
  465. package/source/UTFGrid.d.ts +6 -6
  466. package/source/UTFGrid.d.ts.map +1 -1
  467. package/source/UTFGrid.js +9 -14
  468. package/source/Vector.d.ts +13 -13
  469. package/source/Vector.d.ts.map +1 -1
  470. package/source/Vector.js +21 -22
  471. package/source/XYZ.d.ts +2 -2
  472. package/source/XYZ.d.ts.map +1 -1
  473. package/source/XYZ.js +3 -3
  474. package/source/Zoomify.d.ts +4 -4
  475. package/source/Zoomify.d.ts.map +1 -1
  476. package/source/Zoomify.js +5 -7
  477. package/sphere.d.ts +8 -8
  478. package/sphere.d.ts.map +1 -1
  479. package/sphere.js +14 -14
  480. package/string.d.ts +2 -2
  481. package/string.d.ts.map +1 -1
  482. package/string.js +3 -3
  483. package/structs/LRUCache.d.ts +4 -4
  484. package/structs/LRUCache.d.ts.map +1 -1
  485. package/structs/LRUCache.js +5 -6
  486. package/structs/LinkedList.d.ts +2 -2
  487. package/structs/LinkedList.d.ts.map +1 -1
  488. package/structs/LinkedList.js +3 -3
  489. package/structs/RBush.d.ts +4 -4
  490. package/structs/RBush.d.ts.map +1 -1
  491. package/structs/RBush.js +6 -12
  492. package/style/Circle.d.ts +2 -2
  493. package/style/Circle.d.ts.map +1 -1
  494. package/style/Circle.js +3 -3
  495. package/style/Fill.d.ts +2 -2
  496. package/style/Fill.d.ts.map +1 -1
  497. package/style/Fill.js +3 -3
  498. package/style/Icon.d.ts +2 -2
  499. package/style/Icon.d.ts.map +1 -1
  500. package/style/Icon.js +3 -3
  501. package/style/Stroke.d.ts +2 -2
  502. package/style/Stroke.d.ts.map +1 -1
  503. package/style/Stroke.js +3 -3
  504. package/style/Style.d.ts +2 -2
  505. package/style/Style.d.ts.map +1 -1
  506. package/style/Style.js +3 -3
  507. package/style/Text.d.ts +2 -2
  508. package/style/Text.d.ts.map +1 -1
  509. package/style/Text.js +3 -3
  510. package/style/expressions.js +7 -7
  511. package/tilecoord.d.ts +2 -2
  512. package/tilecoord.d.ts.map +1 -1
  513. package/tilecoord.js +7 -7
  514. package/tilegrid/TileGrid.d.ts +14 -14
  515. package/tilegrid/TileGrid.js +28 -28
  516. package/tilegrid/WMTS.d.ts +3 -3
  517. package/tilegrid/WMTS.d.ts.map +1 -1
  518. package/tilegrid/WMTS.js +6 -6
  519. package/tilegrid.d.ts +10 -10
  520. package/tilegrid.d.ts.map +1 -1
  521. package/tilegrid.js +24 -36
  522. package/util.js +1 -1
  523. package/webgl/Buffer.d.ts +2 -2
  524. package/webgl/Buffer.d.ts.map +1 -1
  525. package/webgl/Buffer.js +3 -3
  526. package/webgl/Helper.d.ts +9 -9
  527. package/webgl/Helper.d.ts.map +1 -1
  528. package/webgl/Helper.js +15 -28
  529. package/webgl/RenderTarget.d.ts +2 -2
  530. package/webgl/RenderTarget.d.ts.map +1 -1
  531. package/webgl/RenderTarget.js +3 -3
  532. package/webgl.d.ts +2 -2
  533. package/webgl.d.ts.map +1 -1
  534. package/webgl.js +4 -4
  535. package/xml.d.ts +37 -37
  536. package/xml.d.ts.map +1 -1
  537. package/xml.js +63 -82
package/xml.js CHANGED
@@ -106,11 +106,11 @@ export function parse(xml) {
106
106
  * Make an array extender function for extending the array at the top of the
107
107
  * object stack.
108
108
  * @param {function(this: T, Node, Array<*>): (Array<*>|undefined)} valueReader Value reader.
109
- * @param {T} [opt_this] The object to use as `this` in `valueReader`.
109
+ * @param {T} [thisArg] The object to use as `this` in `valueReader`.
110
110
  * @return {Parser} Parser.
111
111
  * @template T
112
112
  */
113
- export function makeArrayExtender(valueReader, opt_this) {
113
+ export function makeArrayExtender(valueReader, thisArg) {
114
114
  return (
115
115
  /**
116
116
  * @param {Node} node Node.
@@ -118,7 +118,7 @@ export function makeArrayExtender(valueReader, opt_this) {
118
118
  */
119
119
  function (node, objectStack) {
120
120
  const value = valueReader.call(
121
- opt_this !== undefined ? opt_this : this,
121
+ thisArg !== undefined ? thisArg : this,
122
122
  node,
123
123
  objectStack
124
124
  );
@@ -136,11 +136,11 @@ export function makeArrayExtender(valueReader, opt_this) {
136
136
  * Make an array pusher function for pushing to the array at the top of the
137
137
  * object stack.
138
138
  * @param {function(this: T, Element, Array<*>): *} valueReader Value reader.
139
- * @param {T} [opt_this] The object to use as `this` in `valueReader`.
139
+ * @param {T} [thisArg] The object to use as `this` in `valueReader`.
140
140
  * @return {Parser} Parser.
141
141
  * @template T
142
142
  */
143
- export function makeArrayPusher(valueReader, opt_this) {
143
+ export function makeArrayPusher(valueReader, thisArg) {
144
144
  return (
145
145
  /**
146
146
  * @param {Element} node Node.
@@ -148,7 +148,7 @@ export function makeArrayPusher(valueReader, opt_this) {
148
148
  */
149
149
  function (node, objectStack) {
150
150
  const value = valueReader.call(
151
- opt_this !== undefined ? opt_this : this,
151
+ thisArg !== undefined ? thisArg : this,
152
152
  node,
153
153
  objectStack
154
154
  );
@@ -166,11 +166,11 @@ export function makeArrayPusher(valueReader, opt_this) {
166
166
  * Make an object stack replacer function for replacing the object at the
167
167
  * top of the stack.
168
168
  * @param {function(this: T, Node, Array<*>): *} valueReader Value reader.
169
- * @param {T} [opt_this] The object to use as `this` in `valueReader`.
169
+ * @param {T} [thisArg] The object to use as `this` in `valueReader`.
170
170
  * @return {Parser} Parser.
171
171
  * @template T
172
172
  */
173
- export function makeReplacer(valueReader, opt_this) {
173
+ export function makeReplacer(valueReader, thisArg) {
174
174
  return (
175
175
  /**
176
176
  * @param {Node} node Node.
@@ -178,7 +178,7 @@ export function makeReplacer(valueReader, opt_this) {
178
178
  */
179
179
  function (node, objectStack) {
180
180
  const value = valueReader.call(
181
- opt_this !== undefined ? opt_this : this,
181
+ thisArg !== undefined ? thisArg : this,
182
182
  node,
183
183
  objectStack
184
184
  );
@@ -193,12 +193,12 @@ export function makeReplacer(valueReader, opt_this) {
193
193
  * Make an object property pusher function for adding a property to the
194
194
  * object at the top of the stack.
195
195
  * @param {function(this: T, Element, Array<*>): *} valueReader Value reader.
196
- * @param {string} [opt_property] Property.
197
- * @param {T} [opt_this] The object to use as `this` in `valueReader`.
196
+ * @param {string} [property] Property.
197
+ * @param {T} [thisArg] The object to use as `this` in `valueReader`.
198
198
  * @return {Parser} Parser.
199
199
  * @template T
200
200
  */
201
- export function makeObjectPropertyPusher(valueReader, opt_property, opt_this) {
201
+ export function makeObjectPropertyPusher(valueReader, property, thisArg) {
202
202
  return (
203
203
  /**
204
204
  * @param {Element} node Node.
@@ -206,7 +206,7 @@ export function makeObjectPropertyPusher(valueReader, opt_property, opt_this) {
206
206
  */
207
207
  function (node, objectStack) {
208
208
  const value = valueReader.call(
209
- opt_this !== undefined ? opt_this : this,
209
+ thisArg !== undefined ? thisArg : this,
210
210
  node,
211
211
  objectStack
212
212
  );
@@ -214,14 +214,13 @@ export function makeObjectPropertyPusher(valueReader, opt_property, opt_this) {
214
214
  const object = /** @type {!Object} */ (
215
215
  objectStack[objectStack.length - 1]
216
216
  );
217
- const property =
218
- opt_property !== undefined ? opt_property : node.localName;
217
+ const name = property !== undefined ? property : node.localName;
219
218
  let array;
220
- if (property in object) {
221
- array = object[property];
219
+ if (name in object) {
220
+ array = object[name];
222
221
  } else {
223
222
  array = [];
224
- object[property] = array;
223
+ object[name] = array;
225
224
  }
226
225
  array.push(value);
227
226
  }
@@ -232,12 +231,12 @@ export function makeObjectPropertyPusher(valueReader, opt_property, opt_this) {
232
231
  /**
233
232
  * Make an object property setter function.
234
233
  * @param {function(this: T, Element, Array<*>): *} valueReader Value reader.
235
- * @param {string} [opt_property] Property.
236
- * @param {T} [opt_this] The object to use as `this` in `valueReader`.
234
+ * @param {string} [property] Property.
235
+ * @param {T} [thisArg] The object to use as `this` in `valueReader`.
237
236
  * @return {Parser} Parser.
238
237
  * @template T
239
238
  */
240
- export function makeObjectPropertySetter(valueReader, opt_property, opt_this) {
239
+ export function makeObjectPropertySetter(valueReader, property, thisArg) {
241
240
  return (
242
241
  /**
243
242
  * @param {Element} node Node.
@@ -245,7 +244,7 @@ export function makeObjectPropertySetter(valueReader, opt_property, opt_this) {
245
244
  */
246
245
  function (node, objectStack) {
247
246
  const value = valueReader.call(
248
- opt_this !== undefined ? opt_this : this,
247
+ thisArg !== undefined ? thisArg : this,
249
248
  node,
250
249
  objectStack
251
250
  );
@@ -253,9 +252,8 @@ export function makeObjectPropertySetter(valueReader, opt_property, opt_this) {
253
252
  const object = /** @type {!Object} */ (
254
253
  objectStack[objectStack.length - 1]
255
254
  );
256
- const property =
257
- opt_property !== undefined ? opt_property : node.localName;
258
- object[property] = value;
255
+ const name = property !== undefined ? property : node.localName;
256
+ object[name] = value;
259
257
  }
260
258
  }
261
259
  );
@@ -266,14 +264,14 @@ export function makeObjectPropertySetter(valueReader, opt_property, opt_this) {
266
264
  * designated parent. The parent is the `node` of the
267
265
  * {@link module:ol/xml~NodeStackItem} at the top of the `objectStack`.
268
266
  * @param {function(this: T, Node, V, Array<*>): void} nodeWriter Node writer.
269
- * @param {T} [opt_this] The object to use as `this` in `nodeWriter`.
267
+ * @param {T} [thisArg] The object to use as `this` in `nodeWriter`.
270
268
  * @return {Serializer} Serializer.
271
269
  * @template T, V
272
270
  */
273
- export function makeChildAppender(nodeWriter, opt_this) {
271
+ export function makeChildAppender(nodeWriter, thisArg) {
274
272
  return function (node, value, objectStack) {
275
273
  nodeWriter.call(
276
- opt_this !== undefined ? opt_this : this,
274
+ thisArg !== undefined ? thisArg : this,
277
275
  node,
278
276
  value,
279
277
  objectStack
@@ -294,11 +292,11 @@ export function makeChildAppender(nodeWriter, opt_this) {
294
292
  * geometry writer, which could be reused for writing MultiLineString
295
293
  * geometries.
296
294
  * @param {function(this: T, Element, V, Array<*>): void} nodeWriter Node writer.
297
- * @param {T} [opt_this] The object to use as `this` in `nodeWriter`.
295
+ * @param {T} [thisArg] The object to use as `this` in `nodeWriter`.
298
296
  * @return {Serializer} Serializer.
299
297
  * @template T, V
300
298
  */
301
- export function makeArraySerializer(nodeWriter, opt_this) {
299
+ export function makeArraySerializer(nodeWriter, thisArg) {
302
300
  let serializersNS, nodeFactory;
303
301
  return function (node, value, objectStack) {
304
302
  if (serializersNS === undefined) {
@@ -313,39 +311,38 @@ export function makeArraySerializer(nodeWriter, opt_this) {
313
311
  }
314
312
 
315
313
  /**
316
- * Create a node factory which can use the `opt_keys` passed to
314
+ * Create a node factory which can use the `keys` passed to
317
315
  * {@link module:ol/xml.serialize} or {@link module:ol/xml.pushSerializeAndPop} as node names,
318
316
  * or a fixed node name. The namespace of the created nodes can either be fixed,
319
317
  * or the parent namespace will be used.
320
- * @param {string} [opt_nodeName] Fixed node name which will be used for all
318
+ * @param {string} [fixedNodeName] Fixed node name which will be used for all
321
319
  * created nodes. If not provided, the 3rd argument to the resulting node
322
320
  * factory needs to be provided and will be the nodeName.
323
- * @param {string} [opt_namespaceURI] Fixed namespace URI which will be used for
321
+ * @param {string} [fixedNamespaceURI] Fixed namespace URI which will be used for
324
322
  * all created nodes. If not provided, the namespace of the parent node will
325
323
  * be used.
326
324
  * @return {function(*, Array<*>, string=): (Node|undefined)} Node factory.
327
325
  */
328
- export function makeSimpleNodeFactory(opt_nodeName, opt_namespaceURI) {
329
- const fixedNodeName = opt_nodeName;
326
+ export function makeSimpleNodeFactory(fixedNodeName, fixedNamespaceURI) {
330
327
  return (
331
328
  /**
332
329
  * @param {*} value Value.
333
330
  * @param {Array<*>} objectStack Object stack.
334
- * @param {string} [opt_nodeName] Node name.
331
+ * @param {string} [newNodeName] Node name.
335
332
  * @return {Node} Node.
336
333
  */
337
- function (value, objectStack, opt_nodeName) {
334
+ function (value, objectStack, newNodeName) {
338
335
  const context = /** @type {NodeStackItem} */ (
339
336
  objectStack[objectStack.length - 1]
340
337
  );
341
338
  const node = context.node;
342
339
  let nodeName = fixedNodeName;
343
340
  if (nodeName === undefined) {
344
- nodeName = opt_nodeName;
341
+ nodeName = newNodeName;
345
342
  }
346
343
 
347
344
  const namespaceURI =
348
- opt_namespaceURI !== undefined ? opt_namespaceURI : node.namespaceURI;
345
+ fixedNamespaceURI !== undefined ? fixedNamespaceURI : node.namespaceURI;
349
346
  return createElementNS(namespaceURI, /** @type {string} */ (nodeName));
350
347
  }
351
348
  );
@@ -363,7 +360,7 @@ export const OBJECT_PROPERTY_NODE_FACTORY = makeSimpleNodeFactory();
363
360
  /**
364
361
  * Create an array of `values` to be used with {@link module:ol/xml.serialize} or
365
362
  * {@link module:ol/xml.pushSerializeAndPop}, where `orderedKeys` has to be provided as
366
- * `opt_key` argument.
363
+ * `key` argument.
367
364
  * @param {Object<string, *>} object Key-value pairs for the sequence. Keys can
368
365
  * be a subset of the `orderedKeys`.
369
366
  * @param {Array<string>} orderedKeys Keys in the order of the sequence.
@@ -386,15 +383,12 @@ export function makeSequence(object, orderedKeys) {
386
383
  * values are version specific.
387
384
  * @param {Array<string>} namespaceURIs Namespace URIs.
388
385
  * @param {T} structure Structure.
389
- * @param {Object<string, T>} [opt_structureNS] Namespaced structure to add to.
386
+ * @param {Object<string, T>} [structureNS] Namespaced structure to add to.
390
387
  * @return {Object<string, T>} Namespaced structure.
391
388
  * @template T
392
389
  */
393
- export function makeStructureNS(namespaceURIs, structure, opt_structureNS) {
394
- /**
395
- * @type {Object<string, T>}
396
- */
397
- const structureNS = opt_structureNS !== undefined ? opt_structureNS : {};
390
+ export function makeStructureNS(namespaceURIs, structure, structureNS) {
391
+ structureNS = structureNS !== undefined ? structureNS : {};
398
392
  let i, ii;
399
393
  for (i = 0, ii = namespaceURIs.length; i < ii; ++i) {
400
394
  structureNS[namespaceURIs[i]] = structure;
@@ -408,16 +402,16 @@ export function makeStructureNS(namespaceURIs, structure, opt_structureNS) {
408
402
  * Parsers by namespace.
409
403
  * @param {Element} node Node.
410
404
  * @param {Array<*>} objectStack Object stack.
411
- * @param {*} [opt_this] The object to use as `this`.
405
+ * @param {*} [thisArg] The object to use as `this`.
412
406
  */
413
- export function parseNode(parsersNS, node, objectStack, opt_this) {
407
+ export function parseNode(parsersNS, node, objectStack, thisArg) {
414
408
  let n;
415
409
  for (n = node.firstElementChild; n; n = n.nextElementSibling) {
416
410
  const parsers = parsersNS[n.namespaceURI];
417
411
  if (parsers !== undefined) {
418
412
  const parser = parsers[n.localName];
419
413
  if (parser !== undefined) {
420
- parser.call(opt_this, n, objectStack);
414
+ parser.call(thisArg, n, objectStack);
421
415
  }
422
416
  }
423
417
  }
@@ -430,19 +424,13 @@ export function parseNode(parsersNS, node, objectStack, opt_this) {
430
424
  * Parsers by namespace.
431
425
  * @param {Element} node Node.
432
426
  * @param {Array<*>} objectStack Object stack.
433
- * @param {*} [opt_this] The object to use as `this`.
427
+ * @param {*} [thisArg] The object to use as `this`.
434
428
  * @return {T} Object.
435
429
  * @template T
436
430
  */
437
- export function pushParseAndPop(
438
- object,
439
- parsersNS,
440
- node,
441
- objectStack,
442
- opt_this
443
- ) {
431
+ export function pushParseAndPop(object, parsersNS, node, objectStack, thisArg) {
444
432
  objectStack.push(object);
445
- parseNode(parsersNS, node, objectStack, opt_this);
433
+ parseNode(parsersNS, node, objectStack, thisArg);
446
434
  return /** @type {T} */ (objectStack.pop());
447
435
  }
448
436
 
@@ -459,12 +447,12 @@ export function pushParseAndPop(
459
447
  * @param {Array<*>} values Values to serialize. An example would be an array
460
448
  * of {@link module:ol/Feature~Feature} instances.
461
449
  * @param {Array<*>} objectStack Node stack.
462
- * @param {Array<string>} [opt_keys] Keys of the `values`. Will be passed to the
450
+ * @param {Array<string>} [keys] Keys of the `values`. Will be passed to the
463
451
  * `nodeFactory`. This is used for serializing object literals where the
464
- * node name relates to the property key. The array length of `opt_keys` has
465
- * to match the length of `values`. For serializing a sequence, `opt_keys`
452
+ * node name relates to the property key. The array length of `keys` has
453
+ * to match the length of `values`. For serializing a sequence, `keys`
466
454
  * determines the order of the sequence.
467
- * @param {T} [opt_this] The object to use as `this` for the node factory and
455
+ * @param {T} [thisArg] The object to use as `this` for the node factory and
468
456
  * serializers.
469
457
  * @template T
470
458
  */
@@ -473,23 +461,23 @@ export function serialize(
473
461
  nodeFactory,
474
462
  values,
475
463
  objectStack,
476
- opt_keys,
477
- opt_this
464
+ keys,
465
+ thisArg
478
466
  ) {
479
- const length = (opt_keys !== undefined ? opt_keys : values).length;
467
+ const length = (keys !== undefined ? keys : values).length;
480
468
  let value, node;
481
469
  for (let i = 0; i < length; ++i) {
482
470
  value = values[i];
483
471
  if (value !== undefined) {
484
472
  node = nodeFactory.call(
485
- opt_this !== undefined ? opt_this : this,
473
+ thisArg !== undefined ? thisArg : this,
486
474
  value,
487
475
  objectStack,
488
- opt_keys !== undefined ? opt_keys[i] : undefined
476
+ keys !== undefined ? keys[i] : undefined
489
477
  );
490
478
  if (node !== undefined) {
491
479
  serializersNS[node.namespaceURI][node.localName].call(
492
- opt_this,
480
+ thisArg,
493
481
  node,
494
482
  value,
495
483
  objectStack
@@ -512,12 +500,12 @@ export function serialize(
512
500
  * @param {Array<*>} values Values to serialize. An example would be an array
513
501
  * of {@link module:ol/Feature~Feature} instances.
514
502
  * @param {Array<*>} objectStack Node stack.
515
- * @param {Array<string>} [opt_keys] Keys of the `values`. Will be passed to the
503
+ * @param {Array<string>} [keys] Keys of the `values`. Will be passed to the
516
504
  * `nodeFactory`. This is used for serializing object literals where the
517
- * node name relates to the property key. The array length of `opt_keys` has
518
- * to match the length of `values`. For serializing a sequence, `opt_keys`
505
+ * node name relates to the property key. The array length of `keys` has
506
+ * to match the length of `values`. For serializing a sequence, `keys`
519
507
  * determines the order of the sequence.
520
- * @param {T} [opt_this] The object to use as `this` for the node factory and
508
+ * @param {T} [thisArg] The object to use as `this` for the node factory and
521
509
  * serializers.
522
510
  * @return {O|undefined} Object.
523
511
  * @template O, T
@@ -528,18 +516,11 @@ export function pushSerializeAndPop(
528
516
  nodeFactory,
529
517
  values,
530
518
  objectStack,
531
- opt_keys,
532
- opt_this
519
+ keys,
520
+ thisArg
533
521
  ) {
534
522
  objectStack.push(object);
535
- serialize(
536
- serializersNS,
537
- nodeFactory,
538
- values,
539
- objectStack,
540
- opt_keys,
541
- opt_this
542
- );
523
+ serialize(serializersNS, nodeFactory, values, objectStack, keys, thisArg);
543
524
  return /** @type {O|undefined} */ (objectStack.pop());
544
525
  }
545
526