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
f3ce8e23b4
Fractional zoom changes in WHEEL mode
2020-02-15 13:53:14 +01:00
Andreas Hocevar
ea5c91e19e
Revert "Merge pull request #9565 from dbrnz/v6.0.0-beta.7-branch"
...
This reverts commit 35569a8427 , reversing
changes made to 29a434314b .
2020-02-14 11:46:57 +01:00
Andreas Hocevar
cc21f92bdb
Restore test coverage, fix tests
2020-02-05 13:03:21 +01:00
David Brooks
03fcf1ca70
Get all mouse wheel tests passing ( #9564 ).
2020-02-05 11:27:10 +01:00
David Brooks
77658e5750
Ensure changes to zoom wheel handling pass tests.
2020-02-05 11:24:48 +01:00
Tim Schaub
c03c359a20
Separate internal and API methods for the view
2019-09-21 11:30:14 -06:00
ahocevar
ebfb20440a
Simplify events and store listeners only in one place
2019-09-04 16:48:43 +02:00
ahocevar
d416866108
Use pointer events everywhere
2019-08-31 23:40:11 +02:00
Frederic Junod
35158efbf0
Fix spelling
2018-03-12 15:18:58 +01:00
Tim Schaub
1404e9d61d
Remove remaining static members from Interaction
2018-02-25 12:46:57 -07:00
Tim Schaub
e8aae60066
Remove private static members from MouseWheelZoom interaction
2018-02-12 07:11:56 -07:00
Tim Schaub
9cfee0f40b
Named exports from ol/has
2018-02-05 10:42:47 -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
1c1f008238
Rename _ol_View_ to View
2018-01-10 09:35:42 -07:00
Frederic Junod
43377c1332
Rename _ol_interaction_MouseWheelZoom_ to MouseWheelZoom
2018-01-08 10:45:39 +01:00
Ron Young
9fa59d0735
rename map in tests
2017-12-21 23:11:42 -07:00
Marc Jansen
4a1d50730b
Rename _ol_interaction_Interaction_ to Interaction
2017-12-15 09:39:10 -07:00
Marc Jansen
465c248572
Rename _ol_MapBrowserEvent_ to MapBrowserEvent
2017-12-15 16:17:56 +01:00
Marc Jansen
1cc682e488
Rename _ol_events_Event_ to Event
2017-12-15 16:17:56 +01: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
32c26c2524
More consistent clean up
2017-08-16 13:35:31 -04:00
Frederic Junod
72bb310386
Move eslint globals to to test/.eslintrc
2017-04-11 12:36:39 +02:00
Thomas Chandelle
8956a492eb
Remove unused map parameter from several interaction methods
2017-01-05 15:34:47 +01:00
Tim Schaub
69d345171e
Private enum for mousewheel mode
2016-12-27 13:32:24 -07:00
Tim Schaub
489d37d384
Use representative wheel delta values in the tests
2016-11-12 12:07:57 -07:00
Frederic Junod
e0a9910d4e
Add new timeout option to ol.interaction.MouseWheelZoom
...
And remove the `ol.MOUSEWHEELZOOM_TIMEOUT_DURATION` define.
2016-10-28 09:07:42 +02:00
Tim Schaub
004cf15222
Add some missing test requires
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
035885c25d
Move interaction files so they are named like their provides
2016-08-07 10:49:10 -06:00