ol 9.2.5-sh.2 → 10.0.0

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 (672) hide show
  1. package/Collection.d.ts +1 -1
  2. package/Collection.d.ts.map +1 -1
  3. package/DataTile.d.ts +15 -1
  4. package/DataTile.d.ts.map +1 -1
  5. package/DataTile.js +26 -1
  6. package/Feature.d.ts +1 -1
  7. package/Feature.d.ts.map +1 -1
  8. package/Geolocation.d.ts +2 -2
  9. package/Geolocation.d.ts.map +1 -1
  10. package/Geolocation.js +1 -0
  11. package/Image.d.ts +4 -4
  12. package/Image.d.ts.map +1 -1
  13. package/ImageCanvas.d.ts +2 -1
  14. package/ImageCanvas.d.ts.map +1 -1
  15. package/ImageCanvas.js +2 -0
  16. package/ImageTile.d.ts.map +1 -1
  17. package/ImageTile.js +1 -1
  18. package/Map.d.ts +5 -4
  19. package/Map.d.ts.map +1 -1
  20. package/Map.js +15 -14
  21. package/MapBrowserEvent.d.ts +4 -2
  22. package/MapBrowserEvent.d.ts.map +1 -1
  23. package/MapBrowserEvent.js +4 -0
  24. package/MapBrowserEventHandler.d.ts +4 -1
  25. package/MapBrowserEventHandler.d.ts.map +1 -1
  26. package/MapBrowserEventHandler.js +4 -0
  27. package/MapBrowserEventType.d.ts +1 -1
  28. package/MapEvent.d.ts.map +1 -1
  29. package/MapEventType.d.ts +1 -1
  30. package/Object.d.ts.map +1 -1
  31. package/ObjectEventType.d.ts +1 -1
  32. package/Observable.d.ts +2 -2
  33. package/Observable.d.ts.map +1 -1
  34. package/Overlay.d.ts +2 -2
  35. package/Overlay.d.ts.map +1 -1
  36. package/Overlay.js +2 -2
  37. package/README.md +1 -1
  38. package/Tile.d.ts +10 -30
  39. package/Tile.d.ts.map +1 -1
  40. package/Tile.js +6 -79
  41. package/TileCache.d.ts +2 -1
  42. package/TileCache.d.ts.map +1 -1
  43. package/TileCache.js +4 -0
  44. package/TileQueue.d.ts +3 -2
  45. package/TileQueue.d.ts.map +1 -1
  46. package/TileQueue.js +7 -4
  47. package/VectorRenderTile.d.ts +8 -13
  48. package/VectorRenderTile.d.ts.map +1 -1
  49. package/VectorRenderTile.js +19 -24
  50. package/VectorTile.d.ts +6 -6
  51. package/VectorTile.d.ts.map +1 -1
  52. package/VectorTile.js +5 -4
  53. package/View.d.ts +1 -1
  54. package/View.d.ts.map +1 -1
  55. package/array.d.ts +2 -2
  56. package/array.d.ts.map +1 -1
  57. package/asserts.d.ts.map +1 -1
  58. package/centerconstraint.d.ts.map +1 -1
  59. package/color.d.ts.map +1 -1
  60. package/color.js +2 -2
  61. package/console.d.ts +1 -1
  62. package/console.d.ts.map +1 -1
  63. package/control/Attribution.d.ts.map +1 -1
  64. package/control/Attribution.js +5 -12
  65. package/control/Control.d.ts.map +1 -1
  66. package/control/Control.js +4 -6
  67. package/control/FullScreen.d.ts +1 -1
  68. package/control/FullScreen.d.ts.map +1 -1
  69. package/control/FullScreen.js +1 -0
  70. package/control/MousePosition.d.ts +1 -1
  71. package/control/MousePosition.d.ts.map +1 -1
  72. package/control/MousePosition.js +1 -0
  73. package/control/OverviewMap.d.ts.map +1 -1
  74. package/control/OverviewMap.js +16 -13
  75. package/control/Rotate.d.ts +4 -1
  76. package/control/Rotate.d.ts.map +1 -1
  77. package/control/Rotate.js +3 -0
  78. package/control/ScaleLine.d.ts +3 -3
  79. package/control/ScaleLine.d.ts.map +1 -1
  80. package/control/ZoomSlider.d.ts.map +1 -1
  81. package/control/ZoomSlider.js +1 -0
  82. package/control/ZoomToExtent.d.ts.map +1 -1
  83. package/control/defaults.d.ts.map +1 -1
  84. package/coordinate.d.ts +1 -1
  85. package/coordinate.d.ts.map +1 -1
  86. package/css.d.ts.map +1 -1
  87. package/dist/ol.d.ts +10 -8
  88. package/dist/ol.d.ts.map +1 -1
  89. package/dist/ol.js +1 -3
  90. package/dist/ol.js.map +1 -1
  91. package/dom.d.ts +0 -5
  92. package/dom.d.ts.map +1 -1
  93. package/dom.js +1 -9
  94. package/events/SnapEvent.d.ts.map +1 -1
  95. package/events/Target.d.ts.map +1 -1
  96. package/events/Target.js +1 -0
  97. package/events/condition.d.ts +2 -2
  98. package/events/condition.d.ts.map +1 -1
  99. package/events/condition.js +1 -1
  100. package/events.d.ts.map +1 -1
  101. package/events.js +6 -4
  102. package/expr/cpu.d.ts +1 -1
  103. package/expr/cpu.d.ts.map +1 -1
  104. package/expr/cpu.js +2 -16
  105. package/expr/expression.d.ts +8 -15
  106. package/expr/expression.d.ts.map +1 -1
  107. package/expr/expression.js +388 -508
  108. package/expr/gpu.d.ts +3 -3
  109. package/expr/gpu.d.ts.map +1 -1
  110. package/expr/gpu.js +1 -14
  111. package/extent.d.ts +2 -2
  112. package/extent.d.ts.map +1 -1
  113. package/featureloader.d.ts +6 -6
  114. package/featureloader.d.ts.map +1 -1
  115. package/featureloader.js +3 -3
  116. package/format/EsriJSON.d.ts +9 -5
  117. package/format/EsriJSON.d.ts.map +1 -1
  118. package/format/EsriJSON.js +7 -0
  119. package/format/Feature.d.ts +12 -12
  120. package/format/Feature.d.ts.map +1 -1
  121. package/format/Feature.js +7 -5
  122. package/format/GML2.d.ts.map +1 -1
  123. package/format/GML2.js +7 -9
  124. package/format/GML3.d.ts +2 -1
  125. package/format/GML3.d.ts.map +1 -1
  126. package/format/GML3.js +23 -31
  127. package/format/GML32.d.ts.map +1 -1
  128. package/format/GML32.js +1 -0
  129. package/format/GMLBase.d.ts.map +1 -1
  130. package/format/GMLBase.js +3 -0
  131. package/format/GPX.d.ts.map +1 -1
  132. package/format/GPX.js +3 -0
  133. package/format/GeoJSON.d.ts +17 -13
  134. package/format/GeoJSON.d.ts.map +1 -1
  135. package/format/GeoJSON.js +17 -14
  136. package/format/IGC.d.ts +1 -1
  137. package/format/IGC.d.ts.map +1 -1
  138. package/format/IGC.js +2 -0
  139. package/format/IIIFInfo.d.ts.map +1 -1
  140. package/format/JSONFeature.d.ts +15 -11
  141. package/format/JSONFeature.d.ts.map +1 -1
  142. package/format/JSONFeature.js +17 -11
  143. package/format/KML.d.ts +6 -6
  144. package/format/KML.d.ts.map +1 -1
  145. package/format/KML.js +5 -1
  146. package/format/MVT.d.ts +15 -13
  147. package/format/MVT.d.ts.map +1 -1
  148. package/format/MVT.js +15 -14
  149. package/format/OSMXML.d.ts.map +1 -1
  150. package/format/OSMXML.js +1 -0
  151. package/format/OWS.d.ts.map +1 -1
  152. package/format/OWS.js +1 -0
  153. package/format/Polyline.d.ts +6 -3
  154. package/format/Polyline.d.ts.map +1 -1
  155. package/format/Polyline.js +6 -0
  156. package/format/TextFeature.d.ts +9 -5
  157. package/format/TextFeature.d.ts.map +1 -1
  158. package/format/TextFeature.js +8 -0
  159. package/format/TopoJSON.d.ts +1 -1
  160. package/format/TopoJSON.d.ts.map +1 -1
  161. package/format/TopoJSON.js +2 -0
  162. package/format/WFS.d.ts.map +1 -1
  163. package/format/WFS.js +3 -0
  164. package/format/WKB.d.ts +9 -5
  165. package/format/WKB.d.ts.map +1 -1
  166. package/format/WKB.js +8 -0
  167. package/format/WKT.d.ts.map +1 -1
  168. package/format/WKT.js +6 -0
  169. package/format/WMSCapabilities.d.ts.map +1 -1
  170. package/format/WMSCapabilities.js +1 -0
  171. package/format/WMSGetFeatureInfo.d.ts.map +1 -1
  172. package/format/WMSGetFeatureInfo.js +1 -0
  173. package/format/WMTSCapabilities.d.ts.map +1 -1
  174. package/format/WMTSCapabilities.js +1 -0
  175. package/format/XMLFeature.d.ts +11 -6
  176. package/format/XMLFeature.d.ts.map +1 -1
  177. package/format/XMLFeature.js +8 -0
  178. package/format/filter/Bbox.d.ts.map +1 -1
  179. package/format/filter/Comparison.d.ts.map +1 -1
  180. package/format/filter/ComparisonBinary.d.ts.map +1 -1
  181. package/format/filter/Contains.d.ts.map +1 -1
  182. package/format/filter/DWithin.d.ts.map +1 -1
  183. package/format/filter/Disjoint.d.ts.map +1 -1
  184. package/format/filter/During.d.ts.map +1 -1
  185. package/format/filter/EqualTo.d.ts.map +1 -1
  186. package/format/filter/Filter.d.ts.map +1 -1
  187. package/format/filter/GreaterThan.d.ts.map +1 -1
  188. package/format/filter/GreaterThanOrEqualTo.d.ts.map +1 -1
  189. package/format/filter/Intersects.d.ts.map +1 -1
  190. package/format/filter/IsBetween.d.ts.map +1 -1
  191. package/format/filter/IsLike.d.ts.map +1 -1
  192. package/format/filter/IsNull.d.ts.map +1 -1
  193. package/format/filter/LessThan.d.ts.map +1 -1
  194. package/format/filter/LessThanOrEqualTo.d.ts.map +1 -1
  195. package/format/filter/LogicalNary.d.ts.map +1 -1
  196. package/format/filter/Not.d.ts.map +1 -1
  197. package/format/filter/NotEqualTo.d.ts.map +1 -1
  198. package/format/filter/ResourceId.d.ts.map +1 -1
  199. package/format/filter/Spatial.d.ts.map +1 -1
  200. package/format/filter/Within.d.ts.map +1 -1
  201. package/format/filter.d.ts.map +1 -1
  202. package/functions.d.ts +2 -2
  203. package/functions.d.ts.map +1 -1
  204. package/functions.js +6 -5
  205. package/geom/Circle.d.ts +10 -3
  206. package/geom/Circle.d.ts.map +1 -1
  207. package/geom/Circle.js +13 -0
  208. package/geom/Geometry.d.ts +2 -2
  209. package/geom/GeometryCollection.d.ts +6 -3
  210. package/geom/GeometryCollection.d.ts.map +1 -1
  211. package/geom/GeometryCollection.js +13 -0
  212. package/geom/LineString.d.ts +9 -5
  213. package/geom/LineString.d.ts.map +1 -1
  214. package/geom/LineString.js +7 -0
  215. package/geom/LinearRing.d.ts +8 -4
  216. package/geom/LinearRing.d.ts.map +1 -1
  217. package/geom/LinearRing.js +7 -0
  218. package/geom/MultiLineString.d.ts +8 -4
  219. package/geom/MultiLineString.d.ts.map +1 -1
  220. package/geom/MultiLineString.js +7 -0
  221. package/geom/MultiPoint.d.ts +6 -3
  222. package/geom/MultiPoint.d.ts.map +1 -1
  223. package/geom/MultiPoint.js +6 -0
  224. package/geom/MultiPolygon.d.ts +8 -4
  225. package/geom/MultiPolygon.d.ts.map +1 -1
  226. package/geom/MultiPolygon.js +8 -0
  227. package/geom/Point.d.ts +4 -2
  228. package/geom/Point.d.ts.map +1 -1
  229. package/geom/Point.js +7 -0
  230. package/geom/Polygon.d.ts +8 -4
  231. package/geom/Polygon.d.ts.map +1 -1
  232. package/geom/Polygon.js +8 -0
  233. package/geom/SimpleGeometry.d.ts +2 -1
  234. package/geom/SimpleGeometry.d.ts.map +1 -1
  235. package/geom/SimpleGeometry.js +6 -0
  236. package/geom/flat/area.d.ts.map +1 -1
  237. package/geom/flat/area.js +9 -7
  238. package/geom/flat/center.d.ts.map +1 -1
  239. package/geom/flat/closest.d.ts.map +1 -1
  240. package/geom/flat/contains.d.ts.map +1 -1
  241. package/geom/flat/deflate.d.ts.map +1 -1
  242. package/geom/flat/flip.d.ts.map +1 -1
  243. package/geom/flat/geodesic.d.ts.map +1 -1
  244. package/geom/flat/inflate.d.ts.map +1 -1
  245. package/geom/flat/interiorpoint.d.ts.map +1 -1
  246. package/geom/flat/interpolate.d.ts.map +1 -1
  247. package/geom/flat/intersectsextent.d.ts.map +1 -1
  248. package/geom/flat/length.d.ts.map +1 -1
  249. package/geom/flat/linechunk.d.ts.map +1 -1
  250. package/geom/flat/orient.d.ts.map +1 -1
  251. package/geom/flat/reverse.d.ts.map +1 -1
  252. package/geom/flat/segments.d.ts +1 -1
  253. package/geom/flat/segments.d.ts.map +1 -1
  254. package/geom/flat/simplify.d.ts.map +1 -1
  255. package/geom/flat/straightchunk.d.ts.map +1 -1
  256. package/geom/flat/textpath.d.ts.map +1 -1
  257. package/geom/flat/topology.d.ts.map +1 -1
  258. package/geom/flat/transform.d.ts.map +1 -1
  259. package/interaction/DblClickDragZoom.d.ts.map +1 -1
  260. package/interaction/DblClickDragZoom.js +1 -0
  261. package/interaction/DoubleClickZoom.d.ts.map +1 -1
  262. package/interaction/DoubleClickZoom.js +1 -0
  263. package/interaction/DragAndDrop.d.ts +4 -3
  264. package/interaction/DragAndDrop.d.ts.map +1 -1
  265. package/interaction/DragAndDrop.js +2 -0
  266. package/interaction/DragBox.d.ts +3 -3
  267. package/interaction/DragBox.d.ts.map +1 -1
  268. package/interaction/DragBox.js +6 -2
  269. package/interaction/DragPan.d.ts +6 -4
  270. package/interaction/DragPan.d.ts.map +1 -1
  271. package/interaction/DragPan.js +6 -1
  272. package/interaction/DragRotate.d.ts +3 -3
  273. package/interaction/DragRotate.d.ts.map +1 -1
  274. package/interaction/DragRotate.js +5 -2
  275. package/interaction/DragRotateAndZoom.d.ts +2 -2
  276. package/interaction/DragRotateAndZoom.d.ts.map +1 -1
  277. package/interaction/DragRotateAndZoom.js +4 -1
  278. package/interaction/DragZoom.d.ts +3 -3
  279. package/interaction/DragZoom.d.ts.map +1 -1
  280. package/interaction/DragZoom.js +3 -2
  281. package/interaction/Draw.d.ts +8 -7
  282. package/interaction/Draw.d.ts.map +1 -1
  283. package/interaction/Draw.js +9 -5
  284. package/interaction/Extent.d.ts +4 -3
  285. package/interaction/Extent.d.ts.map +1 -1
  286. package/interaction/Extent.js +6 -1
  287. package/interaction/Interaction.d.ts +1 -1
  288. package/interaction/Interaction.d.ts.map +1 -1
  289. package/interaction/KeyboardPan.d.ts +2 -2
  290. package/interaction/KeyboardPan.d.ts.map +1 -1
  291. package/interaction/KeyboardPan.js +2 -1
  292. package/interaction/KeyboardZoom.d.ts +2 -2
  293. package/interaction/KeyboardZoom.d.ts.map +1 -1
  294. package/interaction/KeyboardZoom.js +2 -1
  295. package/interaction/Link.d.ts +1 -1
  296. package/interaction/Link.d.ts.map +1 -1
  297. package/interaction/Link.js +4 -0
  298. package/interaction/Modify.d.ts +13 -10
  299. package/interaction/Modify.d.ts.map +1 -1
  300. package/interaction/Modify.js +11 -3
  301. package/interaction/MouseWheelZoom.d.ts +3 -3
  302. package/interaction/MouseWheelZoom.d.ts.map +1 -1
  303. package/interaction/MouseWheelZoom.js +2 -1
  304. package/interaction/PinchRotate.d.ts.map +1 -1
  305. package/interaction/PinchRotate.js +3 -0
  306. package/interaction/PinchZoom.d.ts.map +1 -1
  307. package/interaction/PinchZoom.js +3 -0
  308. package/interaction/Pointer.d.ts.map +1 -1
  309. package/interaction/Pointer.js +1 -0
  310. package/interaction/Select.d.ts +14 -14
  311. package/interaction/Select.d.ts.map +1 -1
  312. package/interaction/Select.js +8 -6
  313. package/interaction/Snap.d.ts +3 -2
  314. package/interaction/Snap.d.ts.map +1 -1
  315. package/interaction/Snap.js +3 -0
  316. package/interaction/Translate.d.ts +11 -10
  317. package/interaction/Translate.d.ts.map +1 -1
  318. package/interaction/Translate.js +9 -4
  319. package/interaction/defaults.d.ts.map +1 -1
  320. package/layer/Base.d.ts +1 -1
  321. package/layer/Base.d.ts.map +1 -1
  322. package/layer/Base.js +1 -0
  323. package/layer/BaseImage.d.ts.map +1 -1
  324. package/layer/BaseTile.d.ts +22 -5
  325. package/layer/BaseTile.d.ts.map +1 -1
  326. package/layer/BaseTile.js +23 -3
  327. package/layer/BaseVector.d.ts.map +1 -1
  328. package/layer/BaseVector.js +3 -0
  329. package/layer/Graticule.d.ts +2 -1
  330. package/layer/Graticule.d.ts.map +1 -1
  331. package/layer/Graticule.js +1 -0
  332. package/layer/Group.d.ts +2 -2
  333. package/layer/Group.d.ts.map +1 -1
  334. package/layer/Group.js +3 -0
  335. package/layer/Heatmap.d.ts +8 -3
  336. package/layer/Heatmap.d.ts.map +1 -1
  337. package/layer/Heatmap.js +18 -7
  338. package/layer/Image.d.ts.map +1 -1
  339. package/layer/Image.js +4 -0
  340. package/layer/Layer.d.ts +4 -4
  341. package/layer/Layer.d.ts.map +1 -1
  342. package/layer/Layer.js +7 -8
  343. package/layer/Tile.d.ts +5 -2
  344. package/layer/Tile.d.ts.map +1 -1
  345. package/layer/Tile.js +6 -1
  346. package/layer/Vector.d.ts.map +1 -1
  347. package/layer/Vector.js +3 -0
  348. package/layer/VectorImage.d.ts +1 -1
  349. package/layer/VectorImage.d.ts.map +1 -1
  350. package/layer/VectorImage.js +3 -0
  351. package/layer/VectorTile.d.ts +32 -7
  352. package/layer/VectorTile.d.ts.map +1 -1
  353. package/layer/VectorTile.js +38 -6
  354. package/layer/WebGLPoints.d.ts +1 -2
  355. package/layer/WebGLPoints.d.ts.map +1 -1
  356. package/layer/WebGLPoints.js +3 -0
  357. package/layer/WebGLTile.d.ts +9 -12
  358. package/layer/WebGLTile.d.ts.map +1 -1
  359. package/layer/WebGLTile.js +20 -21
  360. package/loadingstrategy.d.ts.map +1 -1
  361. package/math.d.ts.map +1 -1
  362. package/net.d.ts.map +1 -1
  363. package/obj.d.ts.map +1 -1
  364. package/ol.css +4 -0
  365. package/package.json +4 -4
  366. package/pixel.d.ts.map +1 -1
  367. package/proj/Projection.d.ts +1 -1
  368. package/proj/Projection.d.ts.map +1 -1
  369. package/proj/Units.d.ts +1 -1
  370. package/proj/epsg3857.d.ts.map +1 -1
  371. package/proj/epsg4326.d.ts.map +1 -1
  372. package/proj/proj4.d.ts.map +1 -1
  373. package/proj.d.ts.map +1 -1
  374. package/render/Box.d.ts.map +1 -1
  375. package/render/Box.js +1 -0
  376. package/render/Event.d.ts.map +1 -1
  377. package/render/EventType.d.ts +2 -2
  378. package/render/Feature.d.ts +6 -4
  379. package/render/Feature.d.ts.map +1 -1
  380. package/render/Feature.js +2 -0
  381. package/render/canvas/Builder.d.ts.map +1 -1
  382. package/render/canvas/Builder.js +2 -0
  383. package/render/canvas/BuilderGroup.d.ts.map +1 -1
  384. package/render/canvas/Executor.d.ts +6 -27
  385. package/render/canvas/Executor.d.ts.map +1 -1
  386. package/render/canvas/Executor.js +7 -13
  387. package/render/canvas/ExecutorGroup.d.ts +4 -5
  388. package/render/canvas/ExecutorGroup.d.ts.map +1 -1
  389. package/render/canvas/ExecutorGroup.js +2 -1
  390. package/render/canvas/ImageBuilder.d.ts +2 -1
  391. package/render/canvas/ImageBuilder.d.ts.map +1 -1
  392. package/render/canvas/ImageBuilder.js +4 -0
  393. package/render/canvas/Immediate.d.ts +24 -12
  394. package/render/canvas/Immediate.d.ts.map +1 -1
  395. package/render/canvas/Immediate.js +14 -0
  396. package/render/canvas/Instruction.d.ts.map +1 -1
  397. package/render/canvas/LineStringBuilder.d.ts.map +1 -1
  398. package/render/canvas/LineStringBuilder.js +4 -0
  399. package/render/canvas/PolygonBuilder.d.ts.map +1 -1
  400. package/render/canvas/PolygonBuilder.js +4 -0
  401. package/render/canvas/TextBuilder.d.ts +4 -2
  402. package/render/canvas/TextBuilder.d.ts.map +1 -1
  403. package/render/canvas/TextBuilder.js +4 -0
  404. package/render/canvas/ZIndexContext.d.ts +2 -1
  405. package/render/canvas/ZIndexContext.d.ts.map +1 -1
  406. package/render/canvas/ZIndexContext.js +1 -0
  407. package/render/canvas/hitdetect.d.ts +1 -1
  408. package/render/canvas/hitdetect.d.ts.map +1 -1
  409. package/render/canvas/style.d.ts +3 -3
  410. package/render/canvas/style.d.ts.map +1 -1
  411. package/render/canvas/style.js +6 -5
  412. package/render/canvas.d.ts +1 -1
  413. package/render/canvas.d.ts.map +1 -1
  414. package/render/canvas.js +2 -1
  415. package/render/webgl/MixedGeometryBatch.d.ts +4 -1
  416. package/render/webgl/MixedGeometryBatch.d.ts.map +1 -1
  417. package/render/webgl/MixedGeometryBatch.js +4 -0
  418. package/render/webgl/VectorStyleRenderer.d.ts +56 -30
  419. package/render/webgl/VectorStyleRenderer.d.ts.map +1 -1
  420. package/render/webgl/VectorStyleRenderer.js +39 -0
  421. package/render/webgl/renderinstructions.d.ts +4 -4
  422. package/render/webgl/utils.d.ts +1 -1
  423. package/render/webgl/utils.d.ts.map +1 -1
  424. package/render.d.ts.map +1 -1
  425. package/renderer/Composite.d.ts +3 -2
  426. package/renderer/Composite.d.ts.map +1 -1
  427. package/renderer/Composite.js +10 -4
  428. package/renderer/Layer.d.ts +22 -29
  429. package/renderer/Layer.d.ts.map +1 -1
  430. package/renderer/Layer.js +33 -37
  431. package/renderer/Map.d.ts +1 -1
  432. package/renderer/Map.d.ts.map +1 -1
  433. package/renderer/canvas/ImageLayer.d.ts +6 -4
  434. package/renderer/canvas/ImageLayer.d.ts.map +1 -1
  435. package/renderer/canvas/ImageLayer.js +12 -9
  436. package/renderer/canvas/Layer.d.ts +4 -9
  437. package/renderer/canvas/Layer.d.ts.map +1 -1
  438. package/renderer/canvas/Layer.js +1 -6
  439. package/renderer/canvas/TileLayer.d.ts +105 -41
  440. package/renderer/canvas/TileLayer.d.ts.map +1 -1
  441. package/renderer/canvas/TileLayer.js +545 -329
  442. package/renderer/canvas/VectorImageLayer.d.ts +6 -3
  443. package/renderer/canvas/VectorImageLayer.d.ts.map +1 -1
  444. package/renderer/canvas/VectorImageLayer.js +10 -3
  445. package/renderer/canvas/VectorLayer.d.ts +6 -3
  446. package/renderer/canvas/VectorLayer.d.ts.map +1 -1
  447. package/renderer/canvas/VectorLayer.js +8 -0
  448. package/renderer/canvas/VectorTileLayer.d.ts +16 -14
  449. package/renderer/canvas/VectorTileLayer.d.ts.map +1 -1
  450. package/renderer/canvas/VectorTileLayer.js +78 -53
  451. package/renderer/vector.d.ts.map +1 -1
  452. package/renderer/webgl/Layer.d.ts +1 -6
  453. package/renderer/webgl/Layer.d.ts.map +1 -1
  454. package/renderer/webgl/Layer.js +2 -6
  455. package/renderer/webgl/PointsLayer.d.ts +23 -8
  456. package/renderer/webgl/PointsLayer.d.ts.map +1 -1
  457. package/renderer/webgl/PointsLayer.js +22 -1
  458. package/renderer/webgl/TileLayer.d.ts +16 -5
  459. package/renderer/webgl/TileLayer.d.ts.map +1 -1
  460. package/renderer/webgl/TileLayer.js +18 -0
  461. package/renderer/webgl/TileLayerBase.d.ts +7 -16
  462. package/renderer/webgl/TileLayerBase.d.ts.map +1 -1
  463. package/renderer/webgl/TileLayerBase.js +69 -84
  464. package/renderer/webgl/VectorLayer.d.ts +32 -8
  465. package/renderer/webgl/VectorLayer.d.ts.map +1 -1
  466. package/renderer/webgl/VectorLayer.js +53 -0
  467. package/renderer/webgl/VectorTileLayer.d.ts +34 -29
  468. package/renderer/webgl/VectorTileLayer.d.ts.map +1 -1
  469. package/renderer/webgl/VectorTileLayer.js +27 -0
  470. package/renderer/webgl/worldUtil.d.ts.map +1 -1
  471. package/reproj/DataTile.d.ts.map +1 -1
  472. package/reproj/DataTile.js +121 -119
  473. package/reproj/Image.d.ts +2 -1
  474. package/reproj/Image.d.ts.map +1 -1
  475. package/reproj/Image.js +4 -2
  476. package/reproj/Tile.d.ts.map +1 -1
  477. package/reproj/Tile.js +16 -19
  478. package/reproj/Triangulation.d.ts.map +1 -1
  479. package/reproj.d.ts +1 -1
  480. package/reproj.d.ts.map +1 -1
  481. package/resolution.d.ts.map +1 -1
  482. package/resolutionconstraint.d.ts.map +1 -1
  483. package/rotationconstraint.d.ts.map +1 -1
  484. package/size.d.ts.map +1 -1
  485. package/source/BingMaps.d.ts +3 -3
  486. package/source/BingMaps.d.ts.map +1 -1
  487. package/source/BingMaps.js +1 -2
  488. package/source/CartoDB.d.ts +2 -2
  489. package/source/CartoDB.d.ts.map +1 -1
  490. package/source/CartoDB.js +1 -1
  491. package/source/Cluster.d.ts +5 -5
  492. package/source/Cluster.d.ts.map +1 -1
  493. package/source/Cluster.js +5 -2
  494. package/source/DataTile.d.ts +51 -22
  495. package/source/DataTile.d.ts.map +1 -1
  496. package/source/DataTile.js +67 -9
  497. package/source/GeoTIFF.d.ts +4 -7
  498. package/source/GeoTIFF.d.ts.map +1 -1
  499. package/source/GeoTIFF.js +4 -3
  500. package/source/Google.d.ts +2 -1
  501. package/source/Google.d.ts.map +1 -1
  502. package/source/Google.js +4 -2
  503. package/source/IIIF.d.ts +1 -1
  504. package/source/IIIF.js +1 -1
  505. package/source/Image.d.ts +3 -2
  506. package/source/Image.d.ts.map +1 -1
  507. package/source/Image.js +1 -0
  508. package/source/ImageArcGISRest.d.ts.map +1 -1
  509. package/source/ImageArcGISRest.js +4 -0
  510. package/source/ImageCanvas.d.ts +2 -1
  511. package/source/ImageCanvas.d.ts.map +1 -1
  512. package/source/ImageCanvas.js +1 -0
  513. package/source/ImageMapGuide.d.ts.map +1 -1
  514. package/source/ImageMapGuide.js +4 -0
  515. package/source/ImageStatic.d.ts.map +1 -1
  516. package/source/ImageStatic.js +1 -0
  517. package/source/ImageTile.d.ts +102 -0
  518. package/source/ImageTile.d.ts.map +1 -0
  519. package/source/ImageTile.js +206 -0
  520. package/source/ImageWMS.d.ts.map +1 -1
  521. package/source/ImageWMS.js +4 -0
  522. package/source/OGCMapTile.d.ts +2 -2
  523. package/source/OGCMapTile.js +1 -1
  524. package/source/OGCVectorTile.d.ts +4 -4
  525. package/source/OGCVectorTile.d.ts.map +1 -1
  526. package/source/OGCVectorTile.js +2 -2
  527. package/source/OSM.d.ts +2 -7
  528. package/source/OSM.d.ts.map +1 -1
  529. package/source/OSM.js +1 -3
  530. package/source/Raster.d.ts +41 -26
  531. package/source/Raster.d.ts.map +1 -1
  532. package/source/Raster.js +83 -102
  533. package/source/Source.d.ts +1 -1
  534. package/source/Source.d.ts.map +1 -1
  535. package/source/Source.js +5 -14
  536. package/source/StadiaMaps.d.ts +2 -2
  537. package/source/StadiaMaps.d.ts.map +1 -1
  538. package/source/StadiaMaps.js +2 -18
  539. package/source/Tile.d.ts +7 -36
  540. package/source/Tile.d.ts.map +1 -1
  541. package/source/Tile.js +9 -69
  542. package/source/TileArcGISRest.d.ts +2 -2
  543. package/source/TileArcGISRest.d.ts.map +1 -1
  544. package/source/TileArcGISRest.js +2 -1
  545. package/source/TileDebug.d.ts.map +1 -1
  546. package/source/TileDebug.js +0 -1
  547. package/source/TileEventType.d.ts +1 -1
  548. package/source/TileImage.d.ts +9 -12
  549. package/source/TileImage.d.ts.map +1 -1
  550. package/source/TileImage.js +21 -43
  551. package/source/TileJSON.d.ts +2 -2
  552. package/source/TileJSON.d.ts.map +1 -1
  553. package/source/TileJSON.js +1 -1
  554. package/source/TileWMS.d.ts +2 -2
  555. package/source/TileWMS.d.ts.map +1 -1
  556. package/source/TileWMS.js +3 -4
  557. package/source/UTFGrid.d.ts +5 -3
  558. package/source/UTFGrid.d.ts.map +1 -1
  559. package/source/UTFGrid.js +7 -8
  560. package/source/UrlTile.d.ts +16 -13
  561. package/source/UrlTile.d.ts.map +1 -1
  562. package/source/UrlTile.js +13 -7
  563. package/source/Vector.d.ts +10 -10
  564. package/source/Vector.d.ts.map +1 -1
  565. package/source/Vector.js +8 -5
  566. package/source/VectorEventType.d.ts +1 -1
  567. package/source/VectorTile.d.ts +8 -20
  568. package/source/VectorTile.d.ts.map +1 -1
  569. package/source/VectorTile.js +16 -85
  570. package/source/WMTS.d.ts +3 -3
  571. package/source/WMTS.d.ts.map +1 -1
  572. package/source/WMTS.js +5 -4
  573. package/source/XYZ.d.ts +14 -17
  574. package/source/XYZ.d.ts.map +1 -1
  575. package/source/XYZ.js +8 -8
  576. package/source/Zoomify.d.ts +5 -4
  577. package/source/Zoomify.d.ts.map +1 -1
  578. package/source/Zoomify.js +5 -2
  579. package/source/arcgisRest.d.ts +4 -4
  580. package/source/arcgisRest.d.ts.map +1 -1
  581. package/source/arcgisRest.js +5 -5
  582. package/source/mapguide.d.ts +3 -3
  583. package/source/mapguide.d.ts.map +1 -1
  584. package/source/mapguide.js +11 -8
  585. package/source/ogcTileUtil.d.ts +2 -2
  586. package/source/ogcTileUtil.d.ts.map +1 -1
  587. package/source/ogcTileUtil.js +7 -7
  588. package/source/static.d.ts +3 -3
  589. package/source/static.d.ts.map +1 -1
  590. package/source/static.js +7 -7
  591. package/source/wms.d.ts +2 -2
  592. package/source/wms.d.ts.map +1 -1
  593. package/source/wms.js +16 -19
  594. package/source.d.ts +1 -0
  595. package/source.d.ts.map +1 -1
  596. package/source.js +1 -0
  597. package/sphere.d.ts +1 -1
  598. package/structs/LRUCache.d.ts.map +1 -1
  599. package/structs/PriorityQueue.d.ts.map +1 -1
  600. package/structs/RBush.d.ts +10 -32
  601. package/structs/RBush.d.ts.map +1 -1
  602. package/structs/RBush.js +9 -12
  603. package/style/Circle.d.ts +2 -1
  604. package/style/Circle.d.ts.map +1 -1
  605. package/style/Circle.js +2 -1
  606. package/style/Fill.d.ts +3 -3
  607. package/style/Fill.d.ts.map +1 -1
  608. package/style/Fill.js +1 -1
  609. package/style/Icon.d.ts +8 -5
  610. package/style/Icon.d.ts.map +1 -1
  611. package/style/Icon.js +21 -0
  612. package/style/IconImage.d.ts.map +1 -1
  613. package/style/IconImage.js +3 -2
  614. package/style/IconImageCache.d.ts.map +1 -1
  615. package/style/Image.d.ts +3 -3
  616. package/style/Image.d.ts.map +1 -1
  617. package/style/RegularShape.d.ts +11 -5
  618. package/style/RegularShape.d.ts.map +1 -1
  619. package/style/RegularShape.js +23 -5
  620. package/style/Stroke.d.ts.map +1 -1
  621. package/style/Style.d.ts +5 -5
  622. package/style/Style.d.ts.map +1 -1
  623. package/style/Style.js +2 -2
  624. package/style/Text.d.ts +2 -2
  625. package/style/Text.d.ts.map +1 -1
  626. package/style/flat.d.ts.map +1 -1
  627. package/style/webgl.d.ts.map +1 -1
  628. package/tilecoord.d.ts +7 -0
  629. package/tilecoord.d.ts.map +1 -1
  630. package/tilecoord.js +11 -1
  631. package/tilegrid/TileGrid.d.ts +1 -1
  632. package/tilegrid/TileGrid.d.ts.map +1 -1
  633. package/tilegrid/WMTS.d.ts.map +1 -1
  634. package/tilegrid/WMTS.js +1 -1
  635. package/tileurlfunction.d.ts +3 -7
  636. package/tileurlfunction.d.ts.map +1 -1
  637. package/tileurlfunction.js +14 -47
  638. package/transform.d.ts +15 -15
  639. package/transform.d.ts.map +1 -1
  640. package/uri.d.ts +23 -3
  641. package/uri.d.ts.map +1 -1
  642. package/uri.js +75 -0
  643. package/util.d.ts.map +1 -1
  644. package/util.js +1 -1
  645. package/vec/mat4.d.ts.map +1 -1
  646. package/webgl/BaseTileRepresentation.d.ts +3 -3
  647. package/webgl/BaseTileRepresentation.d.ts.map +1 -1
  648. package/webgl/BaseTileRepresentation.js +9 -2
  649. package/webgl/Buffer.d.ts.map +1 -1
  650. package/webgl/Helper.d.ts.map +1 -1
  651. package/webgl/Helper.js +1 -0
  652. package/webgl/PostProcessingPass.d.ts +48 -12
  653. package/webgl/PostProcessingPass.d.ts.map +1 -1
  654. package/webgl/PostProcessingPass.js +42 -6
  655. package/webgl/RenderTarget.d.ts.map +1 -1
  656. package/webgl/ShaderBuilder.d.ts +1 -1
  657. package/webgl/TileGeometry.d.ts.map +1 -1
  658. package/webgl/TileGeometry.js +4 -1
  659. package/webgl/TileTexture.d.ts.map +1 -1
  660. package/webgl/TileTexture.js +14 -8
  661. package/webgl/styleparser.d.ts.map +1 -1
  662. package/webgl/styleparser.js +54 -66
  663. package/webgl.d.ts.map +1 -1
  664. package/worker/webgl.js +1 -1
  665. package/xml.d.ts.map +1 -1
  666. package/xml.js +27 -39
  667. package/source/SentinelHub.d.ts +0 -507
  668. package/source/SentinelHub.d.ts.map +0 -1
  669. package/source/SentinelHub.js +0 -616
  670. package/structs/LinkedList.d.ts +0 -130
  671. package/structs/LinkedList.d.ts.map +0 -1
  672. package/structs/LinkedList.js +0 -259
@@ -1 +1 @@
1
- {"version":3,"file":"Observable.d.ts","sourceRoot":"","sources":["Observable.js"],"names":[],"mappings":"AA8KA;;;;;GAKG;AACH,6BAJW,OAAO,aAAa,EAAE,SAAS,GAAC,MAAM,OAAO,aAAa,EAAE,SAAS,CAAC,QAYhF;;;;;uHAjLY,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,YAAM,KAAK,MAAM;;;;+DAM1D,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,GAAC,OAAO,gBAAgB,EAAE,OAAO,YAAM,KAAK,MAAM,SAAS,IAAI,GAAG,IAAI,GAAG,MAAM,EAAE;yBAIvH,QAAQ,GAAC,OAAO;;;;4CAKhB,YAAY,UAAU,EAAE,OAAO,mBAAmB,EAAE,OAAO,EAAE,MAAM,CAAC,GAAG,oBAAoB,UAAU,EAAE,MAAM,CAAC;AAnB3H;;;;;GAKG;AAEH;;;;GAIG;AAEH;;GAEG;A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`, `'top-left'`,
5
5
  * `'top-center'`, or `'top-right'`.
6
6
  */
7
- export type Positioning = 'bottom-left' | 'bottom-center' | 'bottom-right' | 'center-left' | 'center-center' | 'center-right' | 'top-left' | 'top-center' | 'top-right';
7
+ export type Positioning = "bottom-left" | "bottom-center" | "bottom-right" | "center-left" | "center-center" | "center-right" | "top-left" | "top-center" | "top-right";
8
8
  export type Options = {
9
9
  /**
10
10
  * Set the overlay id. The overlay id can be used
@@ -87,7 +87,7 @@ export type PanIntoViewOptions = {
87
87
  */
88
88
  margin?: number | undefined;
89
89
  };
90
- export type OverlayObjectEventTypes = import("./ObjectEventType").Types | 'change:element' | 'change:map' | 'change:offset' | 'change:position' | 'change:positioning';
90
+ export type OverlayObjectEventTypes = import("./ObjectEventType").Types | "change:element" | "change:map" | "change:offset" | "change:position" | "change:positioning";
91
91
  /**
92
92
  * *
93
93
  */
package/Overlay.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["Overlay.js"],"names":[],"mappings":";;;;;;0BAWa,aAAa,GAAG,eAAe,GAAG,cAAc,GAAG,aAAa,GAAG,eAAe,GAAG,cAAc,GAAG,UAAU,GAAG,YAAY,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA2CnI,MAAM,KAAE,MAAM;;;;;;;;;;;;;sCAyBxB,OAAO,mBAAmB,EAAE,KAAK,GAAC,gBAAgB,GAAC,YAAY,GAAC,eAAe,GAAC,iBAAiB,GAC7G,oBAAwB;;;;yCAKZ,OAAO,cAAc,EAAE,WAAW,CAAC,OAAO,cAAc,EAAE,UAAU,EAAE,OAAO,mBAAmB,EAAE,OAAO,EAAE,MAAM,CAAC,GAC9H,OAAW,cAAc,EAAE,WAAW,CAAC,uBAAuB,EAAE,OAAO,UAAU,EAAE,WAAW,EAAE,MAAM,CAAC,GACvG,OAAW,cAAc,EAAE,m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AK,CAAC,MAAM,CAAC,CAMxB;IAED;;;;;;OAMG;IACH,eALY,OAAO,iBAAiB,EAAE,UAAU,GAAC,SAAS,CASzD;IAED;;;;;;OAMG;IACH,kBALY,WAAW,CAOtB;IAED;;OAEG;IACH,uCAMC;IAED;;OAEG;IACH,mCAyBC;IAED;;OAEG;IACH,yBAEC;IAED;;OAEG;IACH,sCAEC;IAED;;OAEG;IACH,wCAGC;IAED;;OAEG;IACH,2CAEC;IAED;;;;;OAKG;IACH,oBAJW,WAAW,GAAC,SAAS,QAM/B;IAED;;;;;;OAMG;IACH,YALW,OAAO,UAAU,EAAE,OAAO,GAAC,IAAI,QAOzC;IAED;;;;;OAKG;IACH,kBAJW,KAAK,CAAC,MAAM,CAAC,QAMvB;IAED;;;;;;;OAOG;IACH,sBALW,OAAO,iBAAiB,EAAE,UAAU,GAAC,SAAS,QAOxD;IAED;;;;OAIG;IACH,iCAIC;IAED;;;;;OAKG;IACH,uEA2DC;IAED;;;;;;OAMG;IACH,2BALW,WAAW,QACX,OAAO,WAAW,EAAE,IAAI,GACvB,OAAO,aAAa,EAAE,MAAM,CAQvC;IAED;;;;;;OAMG;IACH,4BALW,WAAW,QAOrB;IAED;;;;OAIG;IACH,8BAHW,OAAO,QAQjB;IAED;;;OAGG;IACH,sCAWC;IAED;;;;OAIG;IACH,wCAJW,OAAO,YAAY,EAAE,KAAK,WAC1B,OAAO,WAAW,EAAE,IAAI,GAAC,SAAS,QA8C5C;IAED;;;OAGG;IACH,cAFY,OAAO,CAIlB;CACF;uBAhkBsB,aAAa"}
package/Overlay.js CHANGED
@@ -6,7 +6,7 @@ import MapEventType from './MapEventType.js';
6
6
  import {CLASS_SELECTABLE} from './css.js';
7
7
  import {containsExtent} from './extent.js';
8
8
  import {listen, unlistenByKey} from './events.js';
9
- import {outerHeight, outerWidth, removeChildren, removeNode} from './dom.js';
9
+ import {outerHeight, outerWidth, removeChildren} from './dom.js';
10
10
 
11
11
  /**
12
12
  * @typedef {'bottom-left' | 'bottom-center' | 'bottom-right' | 'center-left' | 'center-center' | 'center-right' | 'top-left' | 'top-center' | 'top-right'} Positioning
@@ -291,7 +291,7 @@ class Overlay extends BaseObject {
291
291
  */
292
292
  handleMapChanged() {
293
293
  if (this.mapPostrenderListenerKey) {
294
- removeNode(this.element);
294
+ this.element?.remove();
295
295
  unlistenByKey(this.mapPostrenderListenerKey);
296
296
  this.mapPostrenderListenerKey = null;
297
297
  }
package/README.md CHANGED
@@ -96,7 +96,7 @@ The [ol package](https://npmjs.com/package/ol) includes auto-generated TypeScrip
96
96
 
97
97
  ## Supported Browsers
98
98
 
99
- OpenLayers runs on all modern browsers (with greater than 1% global usage). This includes Chrome, Firefox, Safari and Edge. For older browsers, [polyfills](https://polyfill.io/) will likely need to be added.
99
+ OpenLayers runs on all modern browsers (with greater than 1% global usage). This includes Chrome, Firefox, Safari and Edge. For older browsers, polyfills ([Fastly](https://polyfill-fastly.io) or [Cloudflare](https://cdnjs.cloudflare.com/polyfill)) will likely need to be added.
100
100
 
101
101
  ## Documentation
102
102
 
package/Tile.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export default Tile;
2
2
  /**
3
- * A function that takes an {@link module :ol/Tile~Tile} for the tile and a
3
+ * A function that takes a {@link module :ol/Tile~Tile} for the tile and a
4
4
  * `{string}` for the url as arguments. The default is
5
5
  * ```js
6
6
  * source.setTileLoadFunction(function(tile, src) {
@@ -37,7 +37,7 @@ export type LoadFunction = (arg0: Tile, arg1: string) => void;
37
37
  * {@link module :ol/source/Tile~TileSource} sources use a function of this type to get
38
38
  * the url that provides a tile for a given tile coordinate.
39
39
  *
40
- * This function takes an {@link module :ol/tilecoord~TileCoord} for the tile
40
+ * This function takes a {@link module :ol/tilecoord~TileCoord} for the tile
41
41
  * coordinate, a `{number}` representing the pixel ratio and a
42
42
  * {@link module :ol/proj/Projection~Projection} for the projection as arguments
43
43
  * and returns a `{string}` representing the tile URL, or undefined if no tile
@@ -57,7 +57,7 @@ export type Options = {
57
57
  interpolate?: boolean | undefined;
58
58
  };
59
59
  /**
60
- * A function that takes an {@link module:ol/Tile~Tile} for the tile and a
60
+ * A function that takes a {@link module:ol/Tile~Tile} for the tile and a
61
61
  * `{string}` for the url as arguments. The default is
62
62
  * ```js
63
63
  * source.setTileLoadFunction(function(tile, src) {
@@ -96,7 +96,7 @@ export type Options = {
96
96
  * {@link module:ol/source/Tile~TileSource} sources use a function of this type to get
97
97
  * the url that provides a tile for a given tile coordinate.
98
98
  *
99
- * This function takes an {@link module:ol/tilecoord~TileCoord} for the tile
99
+ * This function takes a {@link module:ol/tilecoord~TileCoord} for the tile
100
100
  * coordinate, a `{number}` representing the pixel ratio and a
101
101
  * {@link module:ol/proj/Projection~Projection} for the projection as arguments
102
102
  * and returns a `{string}` representing the tile URL, or undefined if no tile
@@ -137,32 +137,24 @@ declare class Tile extends EventTarget {
137
137
  */
138
138
  protected state: any;
139
139
  /**
140
- * An "interim" tile for this tile. The interim tile may be used while this
141
- * one is loading, for "smooth" transitions when changing params/dimensions
142
- * on the source.
143
- * @type {Tile|null}
144
- */
145
- interimTile: Tile | null;
146
- /**
147
- * A key assigned to the tile. This is used by the tile source to determine
148
- * if this tile can effectively be used, or if a new tile should be created
149
- * and this one be used as an interim tile for this new tile.
140
+ * A key assigned to the tile. This is used in conjunction with a source key
141
+ * to determine if a cached version of this tile may be used by the renderer.
150
142
  * @type {string}
151
143
  */
152
144
  key: string;
153
145
  /**
154
146
  * The duration for the opacity transition.
147
+ * @private
155
148
  * @type {number}
156
149
  */
157
- transition_: number;
150
+ private transition_;
158
151
  /**
159
152
  * Lookup of start times for rendering transitions. If the start time is
160
153
  * equal to -1, the transition is complete.
154
+ * @private
161
155
  * @type {Object<string, number>}
162
156
  */
163
- transitionStarts_: {
164
- [x: string]: number;
165
- };
157
+ private transitionStarts_;
166
158
  /**
167
159
  * @type {boolean}
168
160
  */
@@ -179,18 +171,6 @@ declare class Tile extends EventTarget {
179
171
  * @return {string} Key.
180
172
  */
181
173
  getKey(): string;
182
- /**
183
- * Get the interim tile most suitable for rendering using the chain of interim
184
- * tiles. This corresponds to the most recent tile that has been loaded, if no
185
- * such tile exists, the original tile is returned.
186
- * @return {!Tile} Best tile for rendering.
187
- */
188
- getInterimTile(): Tile;
189
- /**
190
- * Goes through the chain of interim tiles and discards sections of the chain
191
- * that are no longer relevant.
192
- */
193
- refreshInterimChain(): void;
194
174
  /**
195
175
  * Get the tile coordinate for this tile.
196
176
  * @return {import("./tilecoord.js").TileCoord} The tile coordinate.
package/Tile.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["Tile.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCA0CsB,IAAI,QAAE,MAAM,KAAG,IAAI;;;;;;;;;;;iCAcnB,OAAO,gBAAgB,EAAE,SAAS,QAAE,MAAM,QAC/D,OAAmB,sBAAsB,EAAE,OAAO,KAAG,CAAC,MAAM,GAAC,SAAS,CAAC;;;;;;;;;;;;;AAhDxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH;;;;;;;;;;;;;GAaG;AAEH;;;;;;;GAOG;AAEH;;;;;GAKG;AACH;IACE;;;;OAIG;IACH,uBAJW,OAAO,gBAAgB,EAAE,SAAS,6CAsD5C;IA7CC;;OAEG;IACH,WAFU,OAAO,gBAAgB,EAAE,SAAS,CAElB;IAE1B;;;OAGG;IACH,qBAAkB;IAElB;;;;;OAKG;IACH,aAFU,IAAI,GAAC,IAAI,CAEI;IAEvB;;;;;OAKG;IACH,KAFU,MAAM,CAEH;IAEb;;;OAGG;IACH,aAFU,MAAM,CAG6C;IAE7D;;;;OAIG;IACH;YAFiB,MAAM,GAAE,MAAM;MAEJ;IAE3B;;OAEG;IACH,aAFU,OAAO,CAEuB;IAG1C;;OAEG;IACH,0BAEC;IAED;;OAEG;IACH,gBAKC;IAED;;OAEG;IACH,UAFY,MAAM,CAIjB;IAED;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BAKC;IAED;;OAEG;IACH,UAFY,MAAM,CAIjB;IAED;;;;OAIG;IACH,gBAHY,OAAO,gBAAgB,EAAE,SAAS,CAK7C;IAED;;OAEG;IACH,YAFY,GAAgC,CAI3C;IAED;;;;;;;OAOG;IACH,gBAHW,GAAgC,QAS1C;IAED;;;;;;OAMG;IACH,aAEC;IAED;;;;;OAKG;IACH,aAJW,MAAM,QACN,MAAM,GACL,MAAM,CAoBjB;IAED;;;;;;OAMG;IACH,iBAHW,MAAM,GACL,OAAO,CAOlB;IAED;;;OAGG;IACH,kBAFW,MAAM,QAMhB;CACF;wBAhPuB,oBAAoB"}
package/Tile.js CHANGED
@@ -8,7 +8,7 @@ import {abstract} from './util.js';
8
8
  import {easeIn} from './easing.js';
9
9
 
10
10
  /**
11
- * A function that takes an {@link module:ol/Tile~Tile} for the tile and a
11
+ * A function that takes a {@link module:ol/Tile~Tile} for the tile and a
12
12
  * `{string}` for the url as arguments. The default is
13
13
  * ```js
14
14
  * source.setTileLoadFunction(function(tile, src) {
@@ -48,7 +48,7 @@ import {easeIn} from './easing.js';
48
48
  * {@link module:ol/source/Tile~TileSource} sources use a function of this type to get
49
49
  * the url that provides a tile for a given tile coordinate.
50
50
  *
51
- * This function takes an {@link module:ol/tilecoord~TileCoord} for the tile
51
+ * This function takes a {@link module:ol/tilecoord~TileCoord} for the tile
52
52
  * coordinate, a `{number}` representing the pixel ratio and a
53
53
  * {@link module:ol/proj/Projection~Projection} for the projection as arguments
54
54
  * and returns a `{string}` representing the tile URL, or undefined if no tile
@@ -97,23 +97,15 @@ class Tile extends EventTarget {
97
97
  this.state = state;
98
98
 
99
99
  /**
100
- * An "interim" tile for this tile. The interim tile may be used while this
101
- * one is loading, for "smooth" transitions when changing params/dimensions
102
- * on the source.
103
- * @type {Tile|null}
104
- */
105
- this.interimTile = null;
106
-
107
- /**
108
- * A key assigned to the tile. This is used by the tile source to determine
109
- * if this tile can effectively be used, or if a new tile should be created
110
- * and this one be used as an interim tile for this new tile.
100
+ * A key assigned to the tile. This is used in conjunction with a source key
101
+ * to determine if a cached version of this tile may be used by the renderer.
111
102
  * @type {string}
112
103
  */
113
104
  this.key = '';
114
105
 
115
106
  /**
116
107
  * The duration for the opacity transition.
108
+ * @private
117
109
  * @type {number}
118
110
  */
119
111
  this.transition_ =
@@ -122,6 +114,7 @@ class Tile extends EventTarget {
122
114
  /**
123
115
  * Lookup of start times for rendering transitions. If the start time is
124
116
  * equal to -1, the transition is complete.
117
+ * @private
125
118
  * @type {Object<string, number>}
126
119
  */
127
120
  this.transitionStarts_ = {};
@@ -156,72 +149,6 @@ class Tile extends EventTarget {
156
149
  return this.key + '/' + this.tileCoord;
157
150
  }
158
151
 
159
- /**
160
- * Get the interim tile most suitable for rendering using the chain of interim
161
- * tiles. This corresponds to the most recent tile that has been loaded, if no
162
- * such tile exists, the original tile is returned.
163
- * @return {!Tile} Best tile for rendering.
164
- */
165
- getInterimTile() {
166
- let tile = this.interimTile;
167
- if (!tile) {
168
- //empty chain
169
- return this;
170
- }
171
-
172
- // find the first loaded tile and return it. Since the chain is sorted in
173
- // decreasing order of creation time, there is no need to search the remainder
174
- // of the list (all those tiles correspond to older requests and will be
175
- // cleaned up by refreshInterimChain)
176
- do {
177
- if (tile.getState() == TileState.LOADED) {
178
- // Show tile immediately instead of fading it in after loading, because
179
- // the interim tile is in place already
180
- this.transition_ = 0;
181
- return tile;
182
- }
183
- tile = tile.interimTile;
184
- } while (tile);
185
-
186
- // we can not find a better tile
187
- return this;
188
- }
189
-
190
- /**
191
- * Goes through the chain of interim tiles and discards sections of the chain
192
- * that are no longer relevant.
193
- */
194
- refreshInterimChain() {
195
- let tile = this.interimTile;
196
- if (!tile) {
197
- return;
198
- }
199
-
200
- /** @type {Tile} */
201
- let prev = this;
202
- do {
203
- if (tile.getState() == TileState.LOADED) {
204
- //we have a loaded tile, we can discard the rest of the list
205
- //we would could abort any LOADING tile request
206
- //older than this tile (i.e. any LOADING tile following this entry in the chain)
207
- tile.interimTile = null;
208
- break;
209
- }
210
- if (tile.getState() == TileState.LOADING) {
211
- //keep this LOADING tile any loaded tiles later in the chain are
212
- //older than this tile, so we're still interested in the request
213
- prev = tile;
214
- } else if (tile.getState() == TileState.IDLE) {
215
- //the head of the list is the most current tile, we don't need
216
- //to start any other requests for this chain
217
- prev.interimTile = tile.interimTile;
218
- } else {
219
- prev = tile;
220
- }
221
- tile = prev.interimTile;
222
- } while (tile);
223
- }
224
-
225
152
  /**
226
153
  * Get the tile coordinate for this tile.
227
154
  * @return {import("./tilecoord.js").TileCoord} The tile coordinate.
package/TileCache.d.ts CHANGED
@@ -3,8 +3,9 @@ declare class TileCache extends LRUCache<any> {
3
3
  constructor(highWaterMark?: number | undefined);
4
4
  /**
5
5
  * @param {!Object<string, boolean>} usedTiles Used tiles.
6
+ * @override
6
7
  */
7
- expireCache(usedTiles: {
8
+ override expireCache(usedTiles: {
8
9
  [x: string]: boolean;
9
10
  }): void;
10
11
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"TileCache.d.ts","sourceRoot":"","sources":["TileCache.js"],"names":[],"mappings":";AAMA;IAuBe,gDAmB6M;IAlC1N;;OAEG;IACH;YAFmB,MAAM,GAAE,OAAO;aAWjC;IAED;;OAEG;IACH,2BAaC;CACF;qBA1CoB,uBAAuB"}
1
+ {"version":3,"file":"TileCache.d.ts","sourceRoot":"","sources":["TileCache.js"],"names":[],"mappings":";AAMA;;IAWE;;;OAGG;IACH,gCAHW;YAAQ,MAAM,GAAE,OAAO;KAAC,QAYlC;IAED;;OAEG;IACH,2BAaC;CACF;qBA9CoB,uBAAuB"}
package/TileCache.js CHANGED
@@ -5,6 +5,9 @@ import LRUCache from './structs/LRUCache.js';
5
5
  import {fromKey, getKey} from './tilecoord.js';
6
6
 
7
7
  class TileCache extends LRUCache {
8
+ /**
9
+ * @override
10
+ */
8
11
  clear() {
9
12
  while (this.getCount() > 0) {
10
13
  this.pop().release();
@@ -14,6 +17,7 @@ class TileCache extends LRUCache {
14
17
 
15
18
  /**
16
19
  * @param {!Object<string, boolean>} usedTiles Used tiles.
20
+ * @override
17
21
  */
18
22
  expireCache(usedTiles) {
19
23
  while (this.canExpireCache()) {
package/TileQueue.d.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  * @param {number} tileResolution Tile resolution.
7
7
  * @return {number} Tile priority.
8
8
  */
9
- export function getTilePriority(frameState: import('./Map.js').FrameState, tile: import("./Tile.js").default, tileSourceKey: string, tileCenter: import("./coordinate.js").Coordinate, tileResolution: number): number;
9
+ export function getTilePriority(frameState: import("./Map.js").FrameState, tile: import("./Tile.js").default, tileSourceKey: string, tileCenter: import("./coordinate.js").Coordinate, tileResolution: number): number;
10
10
  export default TileQueue;
11
11
  export type PriorityFunction = (arg0: import("./Tile.js").default, arg1: string, arg2: import("./coordinate.js").Coordinate, arg3: number) => number;
12
12
  /**
@@ -38,8 +38,9 @@ declare class TileQueue extends PriorityQueue<any> {
38
38
  /**
39
39
  * @param {Array} element Element.
40
40
  * @return {boolean} The element was added to the queue.
41
+ * @override
41
42
  */
42
- enqueue(element: any[]): boolean;
43
+ override enqueue(element: any[]): boolean;
43
44
  /**
44
45
  * @return {number} Number of tiles loading.
45
46
  */
@@ -1 +1 @@
1
- {"version":3,"file":"TileQueue.d.ts","sourceRoot":"","sources":["TileQueue.js"],"names":[],"mappings":"AA+HA;;;;;;;GAOG;AACH,4CAPW,OAAO,UAAU,EAAE,UAAU,QAC7B,OAAO,WAAW,EAAE,OAAO,iBAC3B,MAAM,cACN,OAAO,iBAAiB,EAAE,UAAU,kBACpC,MAAM,GACL,MAAM,CA8BjB;;sCA3JqB,OAAO,WAAW,EAAE,OAAO,QAAE,MAAM,QAAE,OAAO,iBAAiB,EAAE,UAAU,QAAE,MAAM,KAAG,MAAM;AADhH;;GAEG;AAEH;IACE;;;OAGG;IACH,kCAHW,gBAAgB,qCAyC1B;IApBC,eAAe;IACf,+BAA8D;IAE9D;;;OAGG;IACH,4BAA6C;IAE7C;;;OAGG;IACH,sBAAsB;IAEtB;;;OAGG;IACH,0BAA2B;IAG7B;;;OAGG;IACH,yBAFY,OAAO,CASlB;IAED;;OAEG;IACH,mBAFY,MAAM,CAIjB;IAED;;;OAGG;IACH,kCAHW,OAAO,mBAAmB,EAAE,OAAO,QAqB7C;IAED;;;OAGG;IACH,+BAHW,MAAM,eACN,MAAM,QAoBhB;CACF;0BAvHiC,4BAA4B"}
1
+ {"version":3,"file":"TileQueue.d.ts","sourceRoot":"","sources":["TileQueue.js"],"names":[],"mappings":"AAkIA;;;;;;;GAOG;AACH,4CAPW,OAAO,UAAU,EAAE,UAAU,QAC7B,OAAO,WAAW,EAAE,OAAO,iBAC3B,MAAM,cACN,OAAO,iBAAiB,EAAE,UAAU,kBACpC,MAAM,GACL,MAAM,CA8BjB;;+BA9JY,CAAS,IAA2B,EAA3B,OAAO,WAAW,EAAE,OAAO,EAAE,IAAM,EAAN,MAAM,EAAE,IAAoC,EAApC,OAAO,iBAAiB,EAAE,UAAU,EAAE,IAAM,EAAN,MAAM,KAAG,MAAM;AADhH;;GAEG;AAEH;IACE;;;OAGG;IACH,kCAHW,gBAAgB,sBAChB,MAAY,OAAC,EAwCvB;IApBC,eAAe;IACf,+BAA8D;IAE9D;;;OAGG;IACH,4BAA6C;IAE7C;;;OAGG;IACH,sBAAsB;IAEtB;;;OAGG;IACH,0BAA2B;IAG7B;;;;OAIG;IACH,kCAHY,OAAO,CAUlB;IAED;;OAEG;IACH,mBAFY,MAAM,CAIjB;IAED;;;OAGG;IACH,kCAHW,OAAO,mBAAmB,EAAE,OAAO,QAqB7C;IAED;;;OAGG;IACH,+BAHW,MAAM,eACN,MAAM,QAsBhB;CACF;0BA1HiC,4BAA4B"}
package/TileQueue.js CHANGED
@@ -57,6 +57,7 @@ class TileQueue extends PriorityQueue {
57
57
  /**
58
58
  * @param {Array} element Element.
59
59
  * @return {boolean} The element was added to the queue.
60
+ * @override
60
61
  */
61
62
  enqueue(element) {
62
63
  const added = super.enqueue(element);
@@ -104,15 +105,17 @@ class TileQueue extends PriorityQueue {
104
105
  */
105
106
  loadMoreTiles(maxTotalLoading, maxNewLoads) {
106
107
  let newLoads = 0;
107
- let state, tile, tileKey;
108
108
  while (
109
109
  this.tilesLoading_ < maxTotalLoading &&
110
110
  newLoads < maxNewLoads &&
111
111
  this.getCount() > 0
112
112
  ) {
113
- tile = /** @type {import("./Tile.js").default} */ (this.dequeue()[0]);
114
- tileKey = tile.getKey();
115
- state = tile.getState();
113
+ /**
114
+ * @type {import("./Tile.js").default}
115
+ */
116
+ const tile = this.dequeue()[0];
117
+ const tileKey = tile.getKey();
118
+ const state = tile.getState();
116
119
  if (state === TileState.IDLE && !(tileKey in this.tilesLoadingKeys_)) {
117
120
  this.tilesLoadingKeys_[tileKey] = true;
118
121
  ++this.tilesLoading_;
@@ -40,16 +40,14 @@ declare class VectorRenderTile extends Tile {
40
40
  constructor(tileCoord: import("./tilecoord.js").TileCoord, state: any, urlTileCoord: import("./tilecoord.js").TileCoord, getSourceTiles: (arg0: VectorRenderTile) => Array<import("./VectorTile").default<any>>);
41
41
  /**
42
42
  * @private
43
- * @type {!Object<string, CanvasRenderingContext2D>}
43
+ * @type {CanvasRenderingContext2D|null}
44
44
  */
45
45
  private context_;
46
46
  /**
47
- * Executor groups by layer uid. Entries are read/written by the renderer.
48
- * @type {Object<string, Array<import("./render/canvas/ExecutorGroup.js").default>>}
47
+ * Executor groups. Read/written by the renderer.
48
+ * @type {Array<import("./render/canvas/ExecutorGroup.js").default>}
49
49
  */
50
- executorGroups: {
51
- [x: string]: Array<import("./render/canvas/ExecutorGroup.js").default>;
52
- };
50
+ executorGroups: Array<import("./render/canvas/ExecutorGroup.js").default>;
53
51
  /**
54
52
  * Number of loading source tiles. Read/written by the source.
55
53
  * @type {number}
@@ -89,21 +87,18 @@ declare class VectorRenderTile extends Tile {
89
87
  */
90
88
  wrappedTileCoord: import("./tilecoord.js").TileCoord;
91
89
  /**
92
- * @param {import("./layer/Layer.js").default} layer Layer.
93
90
  * @return {CanvasRenderingContext2D} The rendering context.
94
91
  */
95
- getContext(layer: import("./layer/Layer.js").default): CanvasRenderingContext2D;
92
+ getContext(): CanvasRenderingContext2D;
96
93
  /**
97
- * @param {import("./layer/Layer.js").default} layer Layer.
98
- * @return {boolean} Tile has a rendering context for the given layer.
94
+ * @return {boolean} Tile has a rendering context.
99
95
  */
100
- hasContext(layer: import("./layer/Layer.js").default): boolean;
96
+ hasContext(): boolean;
101
97
  /**
102
98
  * Get the Canvas for this tile.
103
- * @param {import("./layer/Layer.js").default} layer Layer.
104
99
  * @return {HTMLCanvasElement} Canvas.
105
100
  */
106
- getImage(layer: import("./layer/Layer.js").default): HTMLCanvasElement;
101
+ getImage(): HTMLCanvasElement;
107
102
  /**
108
103
  * @param {import("./layer/Layer.js").default} layer Layer.
109
104
  * @return {ReplayState} The replay state.
@@ -1 +1 @@
1
- {"version":3,"file":"VectorRenderTile.d.ts","sourceRoot":"","sources":["VectorRenderTile.js"],"names":[],"mappings":";;;;;WASc,OAAO;;;;yBACP,IAAI,GAAC,OAAO,aAAa,EAAE,aAAa;;;;0BACxC,MAAM;;;;wBACN,MAAM;;;;sBACN,MAAM;;;;4BACN,MAAM;;;;mBACN,MAAM;;AAQpB;IACE;;;;;;OAMG;IACH,uBANW,OAAO,gBAAgB,EAAE,SAAS,4BAElC,OAAO,gBAAgB,EAAE,SAAS,yBACzB,gBAAgB,KAAE,0CAAqC,EA2D1E;IArDC;;;OAGG;IACH,iBAAkB;IAElB;;;OAGG;IACH;YAFiB,MAAM,GAAE,MAAM,OAAO,kCAAkC,EAAE,OAAO,CAAC;MAE1D;IAExB;;;OAGG;IACH,oBAFU,MAAM,CAEW;IAE3B;;OAEG;IACH;YAFiB,MAAM,GAAE,SAAS;MAEH;IAE/B;;;OAGG;IACH,qBAAsB;IAEtB;;OAEG;IACH,aAFU,0CAAwC,CAE7B;IAErB;;OAEG;IACH;YAFiB,MAAM,GAAE,OAAO;MAET;IAEvB;;OAEG;IACH,kBAFU,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AErB;;OAEG;IACH,gBAFU,MAAY,KAAK,CAAC,mCAAiC,CAAC,CAEJ;IAE1D;;OAEG;IACH,kBAFU,OAAO,gBAAgB,EAAE,SAAS,CAER;IAGtC;;OAEG;IACH,cAFY,wBAAwB,CAOnC;IAED;;OAEG;IACH,cAFY,OAAO,CAIlB;IAED;;;OAGG;IACH,YAFY,iBAAiB,CAI5B;IAED;;;OAGG;IACH,sBAHW,OAAO,kBAAkB,EAAE,OAAO,GACjC,WAAW,CAgBtB;CAoBF;iBArJgB,WAAW"}
@@ -34,15 +34,15 @@ class VectorRenderTile extends Tile {
34
34
 
35
35
  /**
36
36
  * @private
37
- * @type {!Object<string, CanvasRenderingContext2D>}
37
+ * @type {CanvasRenderingContext2D|null}
38
38
  */
39
- this.context_ = {};
39
+ this.context_ = null;
40
40
 
41
41
  /**
42
- * Executor groups by layer uid. Entries are read/written by the renderer.
43
- * @type {Object<string, Array<import("./render/canvas/ExecutorGroup.js").default>>}
42
+ * Executor groups. Read/written by the renderer.
43
+ * @type {Array<import("./render/canvas/ExecutorGroup.js").default>}
44
44
  */
45
- this.executorGroups = {};
45
+ this.executorGroups = [];
46
46
 
47
47
  /**
48
48
  * Number of loading source tiles. Read/written by the source.
@@ -88,32 +88,28 @@ class VectorRenderTile extends Tile {
88
88
  }
89
89
 
90
90
  /**
91
- * @param {import("./layer/Layer.js").default} layer Layer.
92
91
  * @return {CanvasRenderingContext2D} The rendering context.
93
92
  */
94
- getContext(layer) {
95
- const key = getUid(layer);
96
- if (!(key in this.context_)) {
97
- this.context_[key] = createCanvasContext2D(1, 1, canvasPool);
93
+ getContext() {
94
+ if (!this.context_) {
95
+ this.context_ = createCanvasContext2D(1, 1, canvasPool);
98
96
  }
99
- return this.context_[key];
97
+ return this.context_;
100
98
  }
101
99
 
102
100
  /**
103
- * @param {import("./layer/Layer.js").default} layer Layer.
104
- * @return {boolean} Tile has a rendering context for the given layer.
101
+ * @return {boolean} Tile has a rendering context.
105
102
  */
106
- hasContext(layer) {
107
- return getUid(layer) in this.context_;
103
+ hasContext() {
104
+ return !!this.context_;
108
105
  }
109
106
 
110
107
  /**
111
108
  * Get the Canvas for this tile.
112
- * @param {import("./layer/Layer.js").default} layer Layer.
113
109
  * @return {HTMLCanvasElement} Canvas.
114
110
  */
115
- getImage(layer) {
116
- return this.hasContext(layer) ? this.getContext(layer).canvas : null;
111
+ getImage() {
112
+ return this.hasContext() ? this.getContext().canvas : null;
117
113
  }
118
114
 
119
115
  /**
@@ -138,6 +134,7 @@ class VectorRenderTile extends Tile {
138
134
 
139
135
  /**
140
136
  * Load the tile.
137
+ * @override
141
138
  */
142
139
  load() {
143
140
  this.getSourceTiles();
@@ -145,14 +142,12 @@ class VectorRenderTile extends Tile {
145
142
 
146
143
  /**
147
144
  * Remove from the cache due to expiry
145
+ * @override
148
146
  */
149
147
  release() {
150
- for (const key in this.context_) {
151
- const context = this.context_[key];
152
- releaseCanvas(context);
153
- canvasPool.push(context.canvas);
154
- delete this.context_[key];
155
- }
148
+ releaseCanvas(this.context_);
149
+ canvasPool.push(this.context_.canvas);
150
+ this.context_ = null;
156
151
  super.release();
157
152
  }
158
153
  }
package/VectorTile.d.ts CHANGED
@@ -7,11 +7,11 @@ declare class VectorTile<FeatureType extends import("./Feature.js").FeatureLike>
7
7
  * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
8
8
  * @param {import("./TileState.js").default} state State.
9
9
  * @param {string} src Data source url.
10
- * @param {import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>} format Feature format.
10
+ * @param {import("./format/Feature.js").default<FeatureType>} format Feature format.
11
11
  * @param {import("./Tile.js").LoadFunction} tileLoadFunction Tile load function.
12
12
  * @param {import("./Tile.js").Options} [options] Tile options.
13
13
  */
14
- constructor(tileCoord: import("./tilecoord.js").TileCoord, state: any, src: string, format: import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>, tileLoadFunction: import("./Tile.js").LoadFunction, options?: import("./Tile.js").Options | undefined);
14
+ constructor(tileCoord: import("./tilecoord.js").TileCoord, state: any, src: string, format: import("./format/Feature.js").default<FeatureType>, tileLoadFunction: import("./Tile.js").LoadFunction, options?: import("./Tile.js").Options | undefined);
15
15
  /**
16
16
  * Extent of this tile; set by the source.
17
17
  * @type {import("./extent.js").Extent}
@@ -19,7 +19,7 @@ declare class VectorTile<FeatureType extends import("./Feature.js").FeatureLike>
19
19
  extent: import("./extent.js").Extent;
20
20
  /**
21
21
  * @private
22
- * @type {import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>}
22
+ * @type {import("./format/Feature.js").default<FeatureType>}
23
23
  */
24
24
  private format_;
25
25
  /**
@@ -54,10 +54,10 @@ declare class VectorTile<FeatureType extends import("./Feature.js").FeatureLike>
54
54
  private url_;
55
55
  /**
56
56
  * Get the feature format assigned for reading this tile's features.
57
- * @return {import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>} Feature format.
57
+ * @return {import("./format/Feature.js").default<FeatureType>} Feature format.
58
58
  * @api
59
59
  */
60
- getFormat(): import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>;
60
+ getFormat(): import("./format/Feature.js").default<FeatureType>;
61
61
  /**
62
62
  * Get the features for this tile. Geometries will be in the view projection.
63
63
  * @return {Array<FeatureType>} Features.
@@ -75,7 +75,7 @@ declare class VectorTile<FeatureType extends import("./Feature.js").FeatureLike>
75
75
  */
76
76
  onError(): void;
77
77
  /**
78
- * Function for use in an {@link module:ol/source/VectorTile~VectorTile}'s `tileLoadFunction`.
78
+ * Function for use in a {@link module:ol/source/VectorTile~VectorTile}'s `tileLoadFunction`.
79
79
  * Sets the features for the tile.
80
80
  * @param {Array<FeatureType>} features Features.
81
81
  * @api
@@ -1 +1 @@
1
- {"version":3,"file":"VectorTile.d.ts","sourceRoot":"","sources":["VectorTile.js"],"names":[],"mappings":";AAMA;;GAEG;AACH;IACE;;;;;;;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;;OAGG;IACH,QAFU,OAAO,aAAa,EAAE,MAAM,CAEpB;IAElB;;;OAGG;IACH,gBAAqB;IAErB;;;OAGG;IACH,kBAAqB;IAErB;;;OAGG;IACH,gBAAY;IAEZ;;;OAGG;IACH,YAFU,OAAO,sBAAsB,EAAE,OAAO,CAE1B;IAEtB;;;OAGG;IACH,YAFU,MAAM,CAED;IAEf;;;OAGG;IACH,0BAAyC;IAEzC;;;OAGG;IACH,aAAe;IAKjB;;;;OAIG;IACH,aAHY,OAAO,qBAAqB,EAAE,OAAO,CAAC,WAAW,CAAC,CAK7D;IAED;;;;OAIG;IACH,eAHY,KAAK,CAAC,WAAW,CAAC,CAK7B;IAgBD;;;;OAIG;IACH,iBAHW,KAAK,CAAC,WAAW,CAAC,kBAClB,OAAO,sBAAsB,EAAE,OAAO,QAIhD;IAED;;OAEG;IACH,gBAEC;IAED;;;;;OAKG;IACH,sBAHW,KAAK,CAAC,WAAW,CAAC,QAM5B;IAED;;;;OAIG;IACH,kBAHW,OAAO,oBAAoB,EAAE,aAAa,CAAC,WAAW,CAAC,QAKjE;CACF;iBAxIgB,WAAW"}
package/VectorTile.js CHANGED
@@ -12,7 +12,7 @@ class VectorTile extends Tile {
12
12
  * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
13
13
  * @param {import("./TileState.js").default} state State.
14
14
  * @param {string} src Data source url.
15
- * @param {import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>} format Feature format.
15
+ * @param {import("./format/Feature.js").default<FeatureType>} format Feature format.
16
16
  * @param {import("./Tile.js").LoadFunction} tileLoadFunction Tile load function.
17
17
  * @param {import("./Tile.js").Options} [options] Tile options.
18
18
  */
@@ -27,7 +27,7 @@ class VectorTile extends Tile {
27
27
 
28
28
  /**
29
29
  * @private
30
- * @type {import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>}
30
+ * @type {import("./format/Feature.js").default<FeatureType>}
31
31
  */
32
32
  this.format_ = format;
33
33
 
@@ -72,7 +72,7 @@ class VectorTile extends Tile {
72
72
 
73
73
  /**
74
74
  * Get the feature format assigned for reading this tile's features.
75
- * @return {import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>} Feature format.
75
+ * @return {import("./format/Feature.js").default<FeatureType>} Feature format.
76
76
  * @api
77
77
  */
78
78
  getFormat() {
@@ -90,6 +90,7 @@ class VectorTile extends Tile {
90
90
 
91
91
  /**
92
92
  * Load not yet loaded URI.
93
+ * @override
93
94
  */
94
95
  load() {
95
96
  if (this.state == TileState.IDLE) {
@@ -118,7 +119,7 @@ class VectorTile extends Tile {
118
119
  }
119
120
 
120
121
  /**
121
- * Function for use in an {@link module:ol/source/VectorTile~VectorTile}'s `tileLoadFunction`.
122
+ * Function for use in a {@link module:ol/source/VectorTile~VectorTile}'s `tileLoadFunction`.
122
123
  * Sets the features for the tile.
123
124
  * @param {Array<FeatureType>} features Features.
124
125
  * @api