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
Andreas Hocevar
a072e3acea
Ignore user provided tile cache size when too small
2020-02-27 13:41:21 +01:00
Andreas Hocevar
b91e1a893d
Do not abort and dispose of tiles
2020-01-05 00:05:24 +01:00
Tim Schaub
e9a30c5cb7
Use standard tile coords
2018-11-21 11:14:17 -07:00
Marc Jansen
685b46f1e3
Named exports from tilecoord
2018-02-15 18:04:51 +01:00
Tim Schaub
9ed3881f34
Named exports from ol/tilegrid
2018-02-09 09:30:16 -07:00
Tim Schaub
6701d19a45
Named exports from ol/proj/epsg3857
2018-02-07 12:44:02 -07: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
Tim Schaub
aa89746c47
Rename _ol_proj_Projection_ to Projection
2018-01-11 13:33:41 -07:00
Tim Schaub
2efdf7982c
Rename _ol_reproj_Tile_ to ReprojTile
2018-01-11 12:06:58 -07:00
Tim Schaub
a66128caa9
Rename _ol_source_TileImage_ to TileImage
2018-01-10 09:36:28 -07:00
Frederic Junod
fd84f9378e
Rename _ol_ImageTile_ to ImageTile
2017-12-22 09:18:27 +01:00
Frederic Junod
fc00aecd2e
Rename _ol_TileState_ to TileState
2017-12-22 09:00:46 +01:00
Frederic Junod
3cc63c4767
Named export for ol/tileurlfunction
...
And change module name from ol/TileUrlFunction to ol/tileurlfunction
2017-12-17 18:32:43 +01:00
Andreas Hocevar
9f1ebbb852
Add and use new proj4.register function
2017-12-15 19:17:29 +01:00
Tim Schaub
6f72ffe498
Named exports from ol/proj
2017-12-14 13:08:40 +01:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
bedec9d596
Consistent use of ol.tilecoord.getKeyZXY()
2017-10-08 09:08:20 -06:00
Andreas Hocevar
dde9fb5bc4
Fix abort handling of tileload events
2017-09-08 06:50:55 +02:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Andreas Hocevar
07d4492ece
Respect cacheSize for reprojected caches
2017-03-22 15:50:58 +01:00
Frederic Junod
cff3447675
Use ol.proj.EPSG3857.WORLD_EXTENT in ol.source.TileImage tests
2017-02-01 11:53:24 +01:00
greenkeeper[bot]
7a9c799c8f
chore(package): update dependencies
...
https://greenkeeper.io/
2017-01-31 17:05:37 +01:00
Tim Schaub
789aeb1c64
Toward a fix for ol.tilegrid
2016-08-08 10:22:28 -06:00
Tim Schaub
c203f6a841
Remove unused requires from tests
2016-08-08 09:58:11 -06:00
Tim Schaub
ed5dbd1293
Put test requires on top
2016-08-08 09:58:11 -06:00
Tim Schaub
e07596846d
Move source files so they are named like their provides
2016-08-07 10:49:11 -06:00