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
bb2bdb17aa
Render vector tile layers to a single canvas
2019-10-31 20:29:19 +01:00
Tim Schaub
65ad4932f4
Support zoom limits for layers
2019-08-06 21:19:09 -04:00
ahocevar
6123be726a
Handle layer removal on shared containers
2019-06-02 13:59:06 +02:00
ahocevar
020f513ed5
Remove unused sortByZIndex function
2019-02-14 17:40:38 +01:00
Tim Schaub
c860aed960
Import inherits, getUid, and VERSION from ol/util
2018-07-19 10:26:17 -06:00
Nicholas L
7097b530f3
Rename extent
2018-02-19 20:33:03 +13:00
Frederic Junod
4f358f018b
Add named exports for sortByZIndex function
2018-02-14 11:12:56 +01:00
Frederic Junod
31e30d28b7
Named exports from ol/obj
2018-01-16 14:14:17 +01: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
176021e188
Rename _ol_Collection_ to Collection
2018-01-11 12:06:58 -07:00
Tim Schaub
f94d69c7a8
Rename _ol_layer_Layer_ to Layer
2018-01-11 12:06:58 -07:00
Tim Schaub
c6646b1cda
Rename _ol_layer_Group_ to LayerGroup
2018-01-11 12:05:59 -07:00
Frederic Junod
68d9f37fec
Rename _ol_renderer_Map_ to MapRenderer
2018-01-11 14:22:43 +01:00
Marc Jansen
02002082bf
Named exports from ol/array module
2017-12-19 17:22:58 +01:00
Frederic Junod
aa45598ae1
Rename _ol_source_Source_ to Source
2017-12-19 08:51:50 +01:00
Andreas Hocevar
5a4887e300
Remove default export from ol/extent
2017-12-13 22:05:10 +01:00
Tim Schaub
87295a74dd
Use named exports from ol/index.js
2017-12-12 12:34:23 -07:00
Tim Schaub
8a9bbd6264
Separate example scripts for dev and prod
2017-12-12 06:56:19 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Tim Schaub
4a4872bbe5
Declare global
2016-08-12 10:53:48 -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
1b8310a6fe
Rename ol/objectutil.js to ol/obj.js
2016-08-07 10:49:12 -06:00
Tim Schaub
8ae6ffefc0
Move layer files so they are named like their provides
2016-08-07 10:49:10 -06:00