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/format/GeoJSON.js CHANGED
@@ -50,10 +50,10 @@ import {transformGeometryWithOptions} from './Feature.js';
50
50
  */
51
51
  class GeoJSON extends JSONFeature {
52
52
  /**
53
- * @param {Options} [opt_options] Options.
53
+ * @param {Options} [options] Options.
54
54
  */
55
- constructor(opt_options) {
56
- const options = opt_options ? opt_options : {};
55
+ constructor(options) {
56
+ options = options ? options : {};
57
57
 
58
58
  super();
59
59
 
@@ -93,11 +93,11 @@ class GeoJSON extends JSONFeature {
93
93
 
94
94
  /**
95
95
  * @param {Object} object Object.
96
- * @param {import("./Feature.js").ReadOptions} [opt_options] Read options.
96
+ * @param {import("./Feature.js").ReadOptions} [options] Read options.
97
97
  * @protected
98
98
  * @return {import("../Feature.js").default} Feature.
99
99
  */
100
- readFeatureFromObject(object, opt_options) {
100
+ readFeatureFromObject(object, options) {
101
101
  /**
102
102
  * @type {GeoJSONFeature}
103
103
  */
@@ -112,7 +112,7 @@ class GeoJSON extends JSONFeature {
112
112
  };
113
113
  }
114
114
 
115
- const geometry = readGeometry(geoJSONFeature['geometry'], opt_options);
115
+ const geometry = readGeometry(geoJSONFeature['geometry'], options);
116
116
  const feature = new Feature();
117
117
  if (this.geometryName_) {
118
118
  feature.setGeometryName(this.geometryName_);
@@ -136,11 +136,11 @@ class GeoJSON extends JSONFeature {
136
136
 
137
137
  /**
138
138
  * @param {Object} object Object.
139
- * @param {import("./Feature.js").ReadOptions} [opt_options] Read options.
139
+ * @param {import("./Feature.js").ReadOptions} [options] Read options.
140
140
  * @protected
141
141
  * @return {Array<Feature>} Features.
142
142
  */
143
- readFeaturesFromObject(object, opt_options) {
143
+ readFeaturesFromObject(object, options) {
144
144
  const geoJSONObject = /** @type {GeoJSONObject} */ (object);
145
145
  /** @type {Array<import("../Feature.js").default>} */
146
146
  let features = null;
@@ -151,24 +151,22 @@ class GeoJSON extends JSONFeature {
151
151
  features = [];
152
152
  const geoJSONFeatures = geoJSONFeatureCollection['features'];
153
153
  for (let i = 0, ii = geoJSONFeatures.length; i < ii; ++i) {
154
- features.push(
155
- this.readFeatureFromObject(geoJSONFeatures[i], opt_options)
156
- );
154
+ features.push(this.readFeatureFromObject(geoJSONFeatures[i], options));
157
155
  }
158
156
  } else {
159
- features = [this.readFeatureFromObject(object, opt_options)];
157
+ features = [this.readFeatureFromObject(object, options)];
160
158
  }
161
159
  return features;
162
160
  }
163
161
 
164
162
  /**
165
163
  * @param {GeoJSONGeometry} object Object.
166
- * @param {import("./Feature.js").ReadOptions} [opt_options] Read options.
164
+ * @param {import("./Feature.js").ReadOptions} [options] Read options.
167
165
  * @protected
168
166
  * @return {import("../geom/Geometry.js").default} Geometry.
169
167
  */
170
- readGeometryFromObject(object, opt_options) {
171
- return readGeometry(object, opt_options);
168
+ readGeometryFromObject(object, options) {
169
+ return readGeometry(object, options);
172
170
  }
173
171
 
174
172
  /**
@@ -197,12 +195,12 @@ class GeoJSON extends JSONFeature {
197
195
  * Encode a feature as a GeoJSON Feature object.
198
196
  *
199
197
  * @param {import("../Feature.js").default} feature Feature.
200
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
198
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
201
199
  * @return {GeoJSONFeature} Object.
202
200
  * @api
203
201
  */
204
- writeFeatureObject(feature, opt_options) {
205
- opt_options = this.adaptOptions(opt_options);
202
+ writeFeatureObject(feature, options) {
203
+ options = this.adaptOptions(options);
206
204
 
207
205
  /** @type {GeoJSONFeature} */
208
206
  const object = {
@@ -223,7 +221,7 @@ class GeoJSON extends JSONFeature {
223
221
  const properties = feature.getProperties();
224
222
  const geometry = feature.getGeometry();
225
223
  if (geometry) {
226
- object.geometry = writeGeometry(geometry, opt_options);
224
+ object.geometry = writeGeometry(geometry, options);
227
225
 
228
226
  delete properties[feature.getGeometryName()];
229
227
  }
@@ -239,15 +237,15 @@ class GeoJSON extends JSONFeature {
239
237
  * Encode an array of features as a GeoJSON object.
240
238
  *
241
239
  * @param {Array<import("../Feature.js").default>} features Features.
242
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
240
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
243
241
  * @return {GeoJSONFeatureCollection} GeoJSON Object.
244
242
  * @api
245
243
  */
246
- writeFeaturesObject(features, opt_options) {
247
- opt_options = this.adaptOptions(opt_options);
244
+ writeFeaturesObject(features, options) {
245
+ options = this.adaptOptions(options);
248
246
  const objects = [];
249
247
  for (let i = 0, ii = features.length; i < ii; ++i) {
250
- objects.push(this.writeFeatureObject(features[i], opt_options));
248
+ objects.push(this.writeFeatureObject(features[i], options));
251
249
  }
252
250
  return {
253
251
  type: 'FeatureCollection',
@@ -259,21 +257,21 @@ class GeoJSON extends JSONFeature {
259
257
  * Encode a geometry as a GeoJSON object.
260
258
  *
261
259
  * @param {import("../geom/Geometry.js").default} geometry Geometry.
262
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
260
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
263
261
  * @return {GeoJSONGeometry|GeoJSONGeometryCollection} Object.
264
262
  * @api
265
263
  */
266
- writeGeometryObject(geometry, opt_options) {
267
- return writeGeometry(geometry, this.adaptOptions(opt_options));
264
+ writeGeometryObject(geometry, options) {
265
+ return writeGeometry(geometry, this.adaptOptions(options));
268
266
  }
269
267
  }
270
268
 
271
269
  /**
272
270
  * @param {GeoJSONGeometry|GeoJSONGeometryCollection} object Object.
273
- * @param {import("./Feature.js").ReadOptions} [opt_options] Read options.
271
+ * @param {import("./Feature.js").ReadOptions} [options] Read options.
274
272
  * @return {import("../geom/Geometry.js").default} Geometry.
275
273
  */
276
- function readGeometry(object, opt_options) {
274
+ function readGeometry(object, options) {
277
275
  if (!object) {
278
276
  return null;
279
277
  }
@@ -325,22 +323,22 @@ function readGeometry(object, opt_options) {
325
323
  throw new Error('Unsupported GeoJSON type: ' + object['type']);
326
324
  }
327
325
  }
328
- return transformGeometryWithOptions(geometry, false, opt_options);
326
+ return transformGeometryWithOptions(geometry, false, options);
329
327
  }
330
328
 
331
329
  /**
332
330
  * @param {GeoJSONGeometryCollection} object Object.
333
- * @param {import("./Feature.js").ReadOptions} [opt_options] Read options.
331
+ * @param {import("./Feature.js").ReadOptions} [options] Read options.
334
332
  * @return {GeometryCollection} Geometry collection.
335
333
  */
336
- function readGeometryCollectionGeometry(object, opt_options) {
334
+ function readGeometryCollectionGeometry(object, options) {
337
335
  const geometries = object['geometries'].map(
338
336
  /**
339
337
  * @param {GeoJSONGeometry} geometry Geometry.
340
338
  * @return {import("../geom/Geometry.js").default} geometry Geometry.
341
339
  */
342
340
  function (geometry) {
343
- return readGeometry(geometry, opt_options);
341
+ return readGeometry(geometry, options);
344
342
  }
345
343
  );
346
344
  return new GeometryCollection(geometries);
@@ -396,62 +394,59 @@ function readPolygonGeometry(object) {
396
394
 
397
395
  /**
398
396
  * @param {import("../geom/Geometry.js").default} geometry Geometry.
399
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
397
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
400
398
  * @return {GeoJSONGeometry} GeoJSON geometry.
401
399
  */
402
- function writeGeometry(geometry, opt_options) {
403
- geometry = transformGeometryWithOptions(geometry, true, opt_options);
400
+ function writeGeometry(geometry, options) {
401
+ geometry = transformGeometryWithOptions(geometry, true, options);
404
402
  const type = geometry.getType();
405
403
 
406
404
  /** @type {GeoJSONGeometry} */
407
405
  let geoJSON;
408
406
  switch (type) {
409
407
  case 'Point': {
410
- geoJSON = writePointGeometry(
411
- /** @type {Point} */ (geometry),
412
- opt_options
413
- );
408
+ geoJSON = writePointGeometry(/** @type {Point} */ (geometry), options);
414
409
  break;
415
410
  }
416
411
  case 'LineString': {
417
412
  geoJSON = writeLineStringGeometry(
418
413
  /** @type {LineString} */ (geometry),
419
- opt_options
414
+ options
420
415
  );
421
416
  break;
422
417
  }
423
418
  case 'Polygon': {
424
419
  geoJSON = writePolygonGeometry(
425
420
  /** @type {Polygon} */ (geometry),
426
- opt_options
421
+ options
427
422
  );
428
423
  break;
429
424
  }
430
425
  case 'MultiPoint': {
431
426
  geoJSON = writeMultiPointGeometry(
432
427
  /** @type {MultiPoint} */ (geometry),
433
- opt_options
428
+ options
434
429
  );
435
430
  break;
436
431
  }
437
432
  case 'MultiLineString': {
438
433
  geoJSON = writeMultiLineStringGeometry(
439
434
  /** @type {MultiLineString} */ (geometry),
440
- opt_options
435
+ options
441
436
  );
442
437
  break;
443
438
  }
444
439
  case 'MultiPolygon': {
445
440
  geoJSON = writeMultiPolygonGeometry(
446
441
  /** @type {MultiPolygon} */ (geometry),
447
- opt_options
442
+ options
448
443
  );
449
444
  break;
450
445
  }
451
446
  case 'GeometryCollection': {
452
447
  geoJSON = writeGeometryCollectionGeometry(
453
448
  /** @type {GeometryCollection} */ (geometry),
454
- opt_options
449
+ options
455
450
  );
456
451
  break;
457
452
  }
@@ -471,13 +466,13 @@ function writeGeometry(geometry, opt_options) {
471
466
 
472
467
  /**
473
468
  * @param {GeometryCollection} geometry Geometry.
474
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
469
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
475
470
  * @return {GeoJSONGeometryCollection} GeoJSON geometry collection.
476
471
  */
477
- function writeGeometryCollectionGeometry(geometry, opt_options) {
472
+ function writeGeometryCollectionGeometry(geometry, options) {
473
+ options = Object.assign({}, options);
474
+ delete options.featureProjection;
478
475
  const geometries = geometry.getGeometriesArray().map(function (geometry) {
479
- const options = Object.assign({}, opt_options);
480
- delete options.featureProjection;
481
476
  return writeGeometry(geometry, options);
482
477
  });
483
478
  return {
@@ -488,10 +483,10 @@ function writeGeometryCollectionGeometry(geometry, opt_options) {
488
483
 
489
484
  /**
490
485
  * @param {LineString} geometry Geometry.
491
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
486
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
492
487
  * @return {GeoJSONGeometry} GeoJSON geometry.
493
488
  */
494
- function writeLineStringGeometry(geometry, opt_options) {
489
+ function writeLineStringGeometry(geometry, options) {
495
490
  return {
496
491
  type: 'LineString',
497
492
  coordinates: geometry.getCoordinates(),
@@ -500,10 +495,10 @@ function writeLineStringGeometry(geometry, opt_options) {
500
495
 
501
496
  /**
502
497
  * @param {MultiLineString} geometry Geometry.
503
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
498
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
504
499
  * @return {GeoJSONGeometry} GeoJSON geometry.
505
500
  */
506
- function writeMultiLineStringGeometry(geometry, opt_options) {
501
+ function writeMultiLineStringGeometry(geometry, options) {
507
502
  return {
508
503
  type: 'MultiLineString',
509
504
  coordinates: geometry.getCoordinates(),
@@ -512,10 +507,10 @@ function writeMultiLineStringGeometry(geometry, opt_options) {
512
507
 
513
508
  /**
514
509
  * @param {MultiPoint} geometry Geometry.
515
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
510
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
516
511
  * @return {GeoJSONGeometry} GeoJSON geometry.
517
512
  */
518
- function writeMultiPointGeometry(geometry, opt_options) {
513
+ function writeMultiPointGeometry(geometry, options) {
519
514
  return {
520
515
  type: 'MultiPoint',
521
516
  coordinates: geometry.getCoordinates(),
@@ -524,13 +519,13 @@ function writeMultiPointGeometry(geometry, opt_options) {
524
519
 
525
520
  /**
526
521
  * @param {MultiPolygon} geometry Geometry.
527
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
522
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
528
523
  * @return {GeoJSONGeometry} GeoJSON geometry.
529
524
  */
530
- function writeMultiPolygonGeometry(geometry, opt_options) {
525
+ function writeMultiPolygonGeometry(geometry, options) {
531
526
  let right;
532
- if (opt_options) {
533
- right = opt_options.rightHanded;
527
+ if (options) {
528
+ right = options.rightHanded;
534
529
  }
535
530
  return {
536
531
  type: 'MultiPolygon',
@@ -540,10 +535,10 @@ function writeMultiPolygonGeometry(geometry, opt_options) {
540
535
 
541
536
  /**
542
537
  * @param {Point} geometry Geometry.
543
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
538
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
544
539
  * @return {GeoJSONGeometry} GeoJSON geometry.
545
540
  */
546
- function writePointGeometry(geometry, opt_options) {
541
+ function writePointGeometry(geometry, options) {
547
542
  return {
548
543
  type: 'Point',
549
544
  coordinates: geometry.getCoordinates(),
@@ -552,13 +547,13 @@ function writePointGeometry(geometry, opt_options) {
552
547
 
553
548
  /**
554
549
  * @param {Polygon} geometry Geometry.
555
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
550
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
556
551
  * @return {GeoJSONGeometry} GeoJSON geometry.
557
552
  */
558
- function writePolygonGeometry(geometry, opt_options) {
553
+ function writePolygonGeometry(geometry, options) {
559
554
  let right;
560
- if (opt_options) {
561
- right = opt_options.rightHanded;
555
+ if (options) {
556
+ right = options.rightHanded;
562
557
  }
563
558
  return {
564
559
  type: 'Polygon',
package/format/IGC.d.ts CHANGED
@@ -27,9 +27,9 @@ export type Options = {
27
27
  */
28
28
  declare class IGC extends TextFeature {
29
29
  /**
30
- * @param {Options} [opt_options] Options.
30
+ * @param {Options} [options] Options.
31
31
  */
32
- constructor(opt_options?: Options | undefined);
32
+ constructor(options?: Options | undefined);
33
33
  /**
34
34
  * @type {import("../proj/Projection.js").default}
35
35
  */
@@ -1 +1 @@
1
- {"version":3,"file":"IGC.d.ts","sourceRoot":"","sources":["IGC.js"],"names":[],"mappings":";;;;mBAUa,YAAY,GAAG,KAAK,GAAG,MAAM;;;;;;;;AA+B1C;;;;GAIG;AAEH;;;;;;;;;GASG;AACH;IACE;;OAEG;IACH,+CAeC;IAVC;;OAEG;IACH,gBAFU,OAAO,uBAAuB,EAAE,OAAO,CAED;IAEhD;;;OAGG;IACH,sBAAyE;CAiG5E"}
1
+ {"version":3,"file":"IGC.d.ts","sourceRoot":"","sources":["IGC.js"],"names":[],"mappings":";;;;mBAUa,YAAY,GAAG,KAAK,GAAG,MAAM;;;;;;;;AA+B1C;;;;GAIG;AAEH;;;;;;;;;GASG;AACH;IACE;;OAEG;IACH,2CAeC;IAVC;;OAEG;IACH,gBAFU,OAAO,uBAAuB,EAAE,OAAO,CAED;IAEhD;;;OAGG;IACH,sBAAyE;CAiG5E"}
package/format/IGC.js CHANGED
@@ -57,12 +57,12 @@ const NEWLINE_RE = /\r\n|\r|\n/;
57
57
  */
58
58
  class IGC extends TextFeature {
59
59
  /**
60
- * @param {Options} [opt_options] Options.
60
+ * @param {Options} [options] Options.
61
61
  */
62
- constructor(opt_options) {
62
+ constructor(options) {
63
63
  super();
64
64
 
65
- const options = opt_options ? opt_options : {};
65
+ options = options ? options : {};
66
66
 
67
67
  /**
68
68
  * @type {import("../proj/Projection.js").default}
@@ -79,10 +79,10 @@ class IGC extends TextFeature {
79
79
  /**
80
80
  * @protected
81
81
  * @param {string} text Text.
82
- * @param {import("./Feature.js").ReadOptions} [opt_options] Read options.
82
+ * @param {import("./Feature.js").ReadOptions} [options] Read options.
83
83
  * @return {import("../Feature.js").default} Feature.
84
84
  */
85
- readFeatureFromText(text, opt_options) {
85
+ readFeatureFromText(text, options) {
86
86
  const altitudeMode = this.altitudeMode_;
87
87
  const lines = text.split(NEWLINE_RE);
88
88
  /** @type {Object<string, string>} */
@@ -150,7 +150,7 @@ class IGC extends TextFeature {
150
150
  const layout = altitudeMode == 'none' ? 'XYM' : 'XYZM';
151
151
  const lineString = new LineString(flatCoordinates, layout);
152
152
  const feature = new Feature(
153
- transformGeometryWithOptions(lineString, false, opt_options)
153
+ transformGeometryWithOptions(lineString, false, options)
154
154
  );
155
155
  feature.setProperties(properties, true);
156
156
  return feature;
@@ -158,12 +158,12 @@ class IGC extends TextFeature {
158
158
 
159
159
  /**
160
160
  * @param {string} text Text.
161
- * @param {import("./Feature.js").ReadOptions} [opt_options] Read options.
161
+ * @param {import("./Feature.js").ReadOptions} [options] Read options.
162
162
  * @protected
163
163
  * @return {Array<Feature>} Features.
164
164
  */
165
- readFeaturesFromText(text, opt_options) {
166
- const feature = this.readFeatureFromText(text, opt_options);
165
+ readFeaturesFromText(text, options) {
166
+ const feature = this.readFeatureFromText(text, options);
167
167
  if (feature) {
168
168
  return [feature];
169
169
  } else {
@@ -123,10 +123,10 @@ declare class IIIFInfo {
123
123
  */
124
124
  getComplianceLevelSupportedFeatures(): SupportedFeatures;
125
125
  /**
126
- * @param {PreferredOptions} [opt_preferredOptions] Optional options for preferred format and quality.
126
+ * @param {PreferredOptions} [preferredOptions] Optional options for preferred format and quality.
127
127
  * @return {import("../source/IIIF.js").Options} IIIF tile source ready constructor options.
128
128
  * @api
129
129
  */
130
- getTileSourceOptions(opt_preferredOptions?: PreferredOptions | undefined): import("../source/IIIF.js").Options;
130
+ getTileSourceOptions(preferredOptions?: PreferredOptions | undefined): import("../source/IIIF.js").Options;
131
131
  }
132
132
  //# sourceMappingURL=IIIFInfo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IIIFInfo.d.ts","sourceRoot":"","sources":["IIIFInfo.js"],"names":[],"mappings":";;;uBA+CU,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAvBF,MAAM,MAAM,CAAC;;;;WACb,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAgBA,MAAM,GAAC,MAAM,GAAC,MAAM,GAAC,MAAM,MAAM,GAAC,MAAM,GAAC,WAAW;YAAQ,MAAM,GAAE,MAAM;QAAE,QAAQ,CAAC;;AAoQzG;;;;;;GAMG;AACH;IACE;;;OAGG;IACH,uBAHW,MAAM,GAAC,wBAAwB,EAKzC;IAED;;;;OAIG;IACH,wBAJW,MAAM,GAAC,wBAAwB,QAUzC;IAJG,eAAsC;IAM1C;;;OAGG;IACH,sBAHY,QAAQ,CAiCnB;IAED;;;;OAIG;IACH,4CAJW,QAAQ,GACP,MAAM,CAuCjB;IAED;;;OAGG;IACH,uCAHW,QAAQ,GACP,MAAM,CASjB;IAED;;;OAGG;IACH,uCAHY,iBAAiB,CAa5B;IAED;;;;OAIG;IACH,2EAHY,OAAO,mBAAmB,EAAE,OAAO,CAwC9C;CACF"}
1
+ {"version":3,"file":"IIIFInfo.d.ts","sourceRoot":"","sources":["IIIFInfo.js"],"names":[],"mappings":";;;uBA+CU,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAvBF,MAAM,MAAM,CAAC;;;;WACb,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAgBA,MAAM,GAAC,MAAM,GAAC,MAAM,GAAC,MAAM,MAAM,GAAC,MAAM,GAAC,WAAW;YAAQ,MAAM,GAAE,MAAM;QAAE,QAAQ,CAAC;;AAoQzG;;;;;;GAMG;AACH;IACE;;;OAGG;IACH,uBAHW,MAAM,GAAC,wBAAwB,EAKzC;IAED;;;;OAIG;IACH,wBAJW,MAAM,GAAC,wBAAwB,QAUzC;IAJG,eAAsC;IAM1C;;;OAGG;IACH,sBAHY,QAAQ,CAiCnB;IAED;;;;OAIG;IACH,4CAJW,QAAQ,GACP,MAAM,CAuCjB;IAED;;;OAGG;IACH,uCAHW,QAAQ,GACP,MAAM,CASjB;IAED;;;OAGG;IACH,uCAHY,iBAAiB,CAa5B;IAED;;;;OAIG;IACH,uEAHY,OAAO,mBAAmB,EAAE,OAAO,CAwC9C;CACF"}
@@ -437,12 +437,12 @@ class IIIFInfo {
437
437
  }
438
438
 
439
439
  /**
440
- * @param {PreferredOptions} [opt_preferredOptions] Optional options for preferred format and quality.
440
+ * @param {PreferredOptions} [preferredOptions] Optional options for preferred format and quality.
441
441
  * @return {import("../source/IIIF.js").Options} IIIF tile source ready constructor options.
442
442
  * @api
443
443
  */
444
- getTileSourceOptions(opt_preferredOptions) {
445
- const options = opt_preferredOptions || {},
444
+ getTileSourceOptions(preferredOptions) {
445
+ const options = preferredOptions || {},
446
446
  version = this.getImageApiVersion();
447
447
  if (version === undefined) {
448
448
  return;
@@ -13,45 +13,45 @@ declare class JSONFeature extends FeatureFormat {
13
13
  * read a feature collection.
14
14
  *
15
15
  * @param {ArrayBuffer|Document|Element|Object|string} source Source.
16
- * @param {import("./Feature.js").ReadOptions} [opt_options] Read options.
16
+ * @param {import("./Feature.js").ReadOptions} [options] Read options.
17
17
  * @return {import("../Feature.js").default} Feature.
18
18
  * @api
19
19
  */
20
- readFeature(source: ArrayBuffer | Document | Element | any | string, opt_options?: import("./Feature.js").ReadOptions | undefined): import("../Feature.js").default;
20
+ readFeature(source: ArrayBuffer | Document | Element | any | string, options?: import("./Feature.js").ReadOptions | undefined): import("../Feature.js").default;
21
21
  /**
22
22
  * Read all features. Works with both a single feature and a feature
23
23
  * collection.
24
24
  *
25
25
  * @param {ArrayBuffer|Document|Element|Object|string} source Source.
26
- * @param {import("./Feature.js").ReadOptions} [opt_options] Read options.
26
+ * @param {import("./Feature.js").ReadOptions} [options] Read options.
27
27
  * @return {Array<import("../Feature.js").default>} Features.
28
28
  * @api
29
29
  */
30
- readFeatures(source: ArrayBuffer | Document | Element | any | string, opt_options?: import("./Feature.js").ReadOptions | undefined): Array<import("../Feature.js").default>;
30
+ readFeatures(source: ArrayBuffer | Document | Element | any | string, options?: import("./Feature.js").ReadOptions | undefined): Array<import("../Feature.js").default>;
31
31
  /**
32
32
  * @abstract
33
33
  * @param {Object} object Object.
34
- * @param {import("./Feature.js").ReadOptions} [opt_options] Read options.
34
+ * @param {import("./Feature.js").ReadOptions} [options] Read options.
35
35
  * @protected
36
36
  * @return {import("../Feature.js").default} Feature.
37
37
  */
38
- protected readFeatureFromObject(object: any, opt_options?: import("./Feature.js").ReadOptions | undefined): import("../Feature.js").default;
38
+ protected readFeatureFromObject(object: any, options?: import("./Feature.js").ReadOptions | undefined): import("../Feature.js").default;
39
39
  /**
40
40
  * @abstract
41
41
  * @param {Object} object Object.
42
- * @param {import("./Feature.js").ReadOptions} [opt_options] Read options.
42
+ * @param {import("./Feature.js").ReadOptions} [options] Read options.
43
43
  * @protected
44
44
  * @return {Array<import("../Feature.js").default>} Features.
45
45
  */
46
- protected readFeaturesFromObject(object: any, opt_options?: import("./Feature.js").ReadOptions | undefined): Array<import("../Feature.js").default>;
46
+ protected readFeaturesFromObject(object: any, options?: import("./Feature.js").ReadOptions | undefined): Array<import("../Feature.js").default>;
47
47
  /**
48
48
  * @abstract
49
49
  * @param {Object} object Object.
50
- * @param {import("./Feature.js").ReadOptions} [opt_options] Read options.
50
+ * @param {import("./Feature.js").ReadOptions} [options] Read options.
51
51
  * @protected
52
52
  * @return {import("../geom/Geometry.js").default} Geometry.
53
53
  */
54
- protected readGeometryFromObject(object: any, opt_options?: import("./Feature.js").ReadOptions | undefined): import("../geom/Geometry.js").default;
54
+ protected readGeometryFromObject(object: any, options?: import("./Feature.js").ReadOptions | undefined): import("../geom/Geometry.js").default;
55
55
  /**
56
56
  * Read the projection.
57
57
  *
@@ -71,50 +71,50 @@ declare class JSONFeature extends FeatureFormat {
71
71
  * Encode a feature as string.
72
72
  *
73
73
  * @param {import("../Feature.js").default} feature Feature.
74
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
74
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
75
75
  * @return {string} Encoded feature.
76
76
  * @api
77
77
  */
78
- writeFeature(feature: import("../Feature.js").default, opt_options?: import("./Feature.js").WriteOptions | undefined): string;
78
+ writeFeature(feature: import("../Feature.js").default, options?: import("./Feature.js").WriteOptions | undefined): string;
79
79
  /**
80
80
  * @abstract
81
81
  * @param {import("../Feature.js").default} feature Feature.
82
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
82
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
83
83
  * @return {Object} Object.
84
84
  */
85
- writeFeatureObject(feature: import("../Feature.js").default, opt_options?: import("./Feature.js").WriteOptions | undefined): any;
85
+ writeFeatureObject(feature: import("../Feature.js").default, options?: import("./Feature.js").WriteOptions | undefined): any;
86
86
  /**
87
87
  * Encode an array of features as string.
88
88
  *
89
89
  * @param {Array<import("../Feature.js").default>} features Features.
90
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
90
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
91
91
  * @return {string} Encoded features.
92
92
  * @api
93
93
  */
94
- writeFeatures(features: Array<import("../Feature.js").default>, opt_options?: import("./Feature.js").WriteOptions | undefined): string;
94
+ writeFeatures(features: Array<import("../Feature.js").default>, options?: import("./Feature.js").WriteOptions | undefined): string;
95
95
  /**
96
96
  * @abstract
97
97
  * @param {Array<import("../Feature.js").default>} features Features.
98
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
98
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
99
99
  * @return {Object} Object.
100
100
  */
101
- writeFeaturesObject(features: Array<import("../Feature.js").default>, opt_options?: import("./Feature.js").WriteOptions | undefined): any;
101
+ writeFeaturesObject(features: Array<import("../Feature.js").default>, options?: import("./Feature.js").WriteOptions | undefined): any;
102
102
  /**
103
103
  * Encode a geometry as string.
104
104
  *
105
105
  * @param {import("../geom/Geometry.js").default} geometry Geometry.
106
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
106
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
107
107
  * @return {string} Encoded geometry.
108
108
  * @api
109
109
  */
110
- writeGeometry(geometry: import("../geom/Geometry.js").default, opt_options?: import("./Feature.js").WriteOptions | undefined): string;
110
+ writeGeometry(geometry: import("../geom/Geometry.js").default, options?: import("./Feature.js").WriteOptions | undefined): string;
111
111
  /**
112
112
  * @abstract
113
113
  * @param {import("../geom/Geometry.js").default} geometry Geometry.
114
- * @param {import("./Feature.js").WriteOptions} [opt_options] Write options.
114
+ * @param {import("./Feature.js").WriteOptions} [options] Write options.
115
115
  * @return {Object} Object.
116
116
  */
117
- writeGeometryObject(geometry: import("../geom/Geometry.js").default, opt_options?: import("./Feature.js").WriteOptions | undefined): any;
117
+ writeGeometryObject(geometry: import("../geom/Geometry.js").default, options?: import("./Feature.js").WriteOptions | undefined): any;
118
118
  }
119
119
  import FeatureFormat from "./Feature.js";
120
120
  //# sourceMappingURL=JSONFeature.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"JSONFeature.d.ts","sourceRoot":"","sources":["JSONFeature.js"],"names":[],"mappings":";AAMA;;;;;;;GAOG;AACH;IAYE;;;;;;;;OAQG;IACH,oBALW,WAAW,GAAC,QAAQ,GAAC,OAAO,SAAQ,MAAM,iEAEzC,OAAO,eAAe,EAAE,OAAO,CAQ1C;IAED;;;;;;;;OAQG;IACH,qBALW,WAAW,GAAC,QAAQ,GAAC,OAAO,SAAQ,MAAM,iEAEzC,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,CAQjD;IAED;;;;;;OAMG;IACH,4GAFY,OAAO,eAAe,EAAE,OAAO,CAI1C;IAED;;;;;;OAMG;IACH,6GAFY,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,CAIjD;IAiBD;;;;;;OAMG;IACH,6GAFY,OAAO,qBAAqB,EAAE,OAAO,CAIhD;IAED;;;;;;OAMG;IACH,uBAJW,WAAW,GAAC,QAAQ,GAAC,OAAO,SAAQ,MAAM,GACzC,OAAO,uBAAuB,EAAE,OAAO,CAKlD;IAED;;;;;OAKG;IACH,iDAFY,OAAO,uBAAuB,EAAE,OAAO,CAIlD;IAED;;;;;;;OAOG;IACH,sBALW,OAAO,eAAe,EAAE,OAAO,kEAE9B,MAAM,CAKjB;IAED;;;;;OAKG;IACH,4BAJW,OAAO,eAAe,EAAE,OAAO,sEAMzC;IAED;;;;;;;OAOG;IACH,wBALW,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,kEAErC,MAAM,CAKjB;IAED;;;;;OAKG;IACH,8BAJW,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,sEAMhD;IAED;;;;;;;OAOG;IACH,wBALW,OAAO,qBAAqB,EAAE,OAAO,kEAEpC,MAAM,CAKjB;IAED;;;;;OAKG;IACH,8BAJW,OAAO,qBAAqB,EAAE,OAAO,sEAM/C;CACF"}
1
+ {"version":3,"file":"JSONFeature.d.ts","sourceRoot":"","sources":["JSONFeature.js"],"names":[],"mappings":";AAMA;;;;;;;GAOG;AACH;IAYE;;;;;;;;OAQG;IACH,oBALW,WAAW,GAAC,QAAQ,GAAC,OAAO,SAAQ,MAAM,6DAEzC,OAAO,eAAe,EAAE,OAAO,CAQ1C;IAED;;;;;;;;OAQG;IACH,qBALW,WAAW,GAAC,QAAQ,GAAC,OAAO,SAAQ,MAAM,6DAEzC,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,CAQjD;IAED;;;;;;OAMG;IACH,wGAFY,OAAO,eAAe,EAAE,OAAO,CAI1C;IAED;;;;;;OAMG;IACH,yGAFY,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,CAIjD;IAiBD;;;;;;OAMG;IACH,yGAFY,OAAO,qBAAqB,EAAE,OAAO,CAIhD;IAED;;;;;;OAMG;IACH,uBAJW,WAAW,GAAC,QAAQ,GAAC,OAAO,SAAQ,MAAM,GACzC,OAAO,uBAAuB,EAAE,OAAO,CAKlD;IAED;;;;;OAKG;IACH,iDAFY,OAAO,uBAAuB,EAAE,OAAO,CAIlD;IAED;;;;;;;OAOG;IACH,sBALW,OAAO,eAAe,EAAE,OAAO,8DAE9B,MAAM,CAKjB;IAED;;;;;OAKG;IACH,4BAJW,OAAO,eAAe,EAAE,OAAO,kEAMzC;IAED;;;;;;;OAOG;IACH,wBALW,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,8DAErC,MAAM,CAKjB;IAED;;;;;OAKG;IACH,8BAJW,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,kEAMhD;IAED;;;;;;;OAOG;IACH,wBALW,OAAO,qBAAqB,EAAE,OAAO,8DAEpC,MAAM,CAKjB;IAED;;;;;OAKG;IACH,8BAJW,OAAO,qBAAqB,EAAE,OAAO,kEAM/C;CACF"}