Andreas Hocevar
a1d68b4f66
Fix reloading tiles in case of an error with tile.load()
2022-07-21 23:23:40 +02:00
Andreas Hocevar
5ab7cbf905
Simpler and faster VectorTile loading
2021-05-30 21:22:03 +02:00
Tim Schaub
054af09032
Make code prettier
...
This updates ESLint and our shared eslint-config-openlayers to use Prettier. Most formatting changes were automatically applied with this:
npm run lint -- --fix
A few manual changes were required:
* In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
* In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason. While editing this, I reworked `ExampleBuilder` to be a class.
* In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Frederic Junod
9e862c1111
Remove all inheritDoc tags from src/ol/
2020-04-03 08:20:49 +02:00
Andreas Hocevar
f896d9fb03
Move tile priority function to the TileQueue module
2020-03-23 12:46:18 +01:00
Andreas Hocevar
b91e1a893d
Do not abort and dispose of tiles
2020-01-05 00:05:24 +01:00
Andreas Hocevar
76af2b6466
Revert "Handle empty source tiles and queue them properly"
...
This reverts commit 818bdc411c .
2019-09-27 16:09:27 +02:00
Andreas Hocevar
818bdc411c
Handle empty source tiles and queue them properly
2019-09-24 15:18:59 +02:00
ahocevar
ebfb20440a
Simplify events and store listeners only in one place
2019-09-04 16:48:43 +02:00
ahocevar
32696638d2
Simplify vector tile code
2019-01-09 13:45:01 +01:00
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07:00
ahocevar
2e5054d11c
Use extends and super for TileQueue
2018-07-17 14:15:34 +02:00
Frederic Junod
f2d0b11d24
Move jsdoc constructor comments
2018-07-17 09:59:00 +02:00
Tim Schaub
f78d0d4cfa
Manual class transform
2018-07-16 17:09:50 -06:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
Frederic Junod
90ce02941a
Better code indentation
2018-05-14 14:58:36 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +01:00
Tim Schaub
7e7631c42a
Named exports from ol/events
2018-01-24 10:09:57 -07:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Frederic Junod
fc00aecd2e
Rename _ol_TileState_ to TileState
2017-12-22 09:00:46 +01:00
Frederic Junod
23277606d4
Rename _ol_TileQueue_ to TileQueue
2017-12-17 09:12:58 +01:00
Frederic Junod
f96a94fbcd
Rename _ol_structs_PriorityQueue_ to PriorityQueue
2017-12-17 09:04:53 +01:00
Marc Jansen
479c7a4668
Rename _ol_events_EventType_ to EventType
2017-12-15 16:19:03 +01:00
Tim Schaub
87295a74dd
Use named exports from ol/index.js
2017-12-12 12:34:23 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
1cdb6a66f0
Imports cased like the filename
2017-12-12 06:53:17 -07:00