Andreas Hocevar
33ce206bab
Get rid of MapBrowserPointerEvent
2020-05-10 16:54:34 +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
Geert Premereur
ad77143417
Experiment with test impact further (3)
2020-04-02 20:05:15 +02:00
Geert Premereur
cf1191505e
Experiment with test impact further (2)
2020-04-02 20:05:15 +02:00
Geert Premereur
3909938a70
Experiment with test impact further
2020-04-02 20:05:15 +02:00
Geert Premereur
e9e75cd8af
temporarily disable test to observe impact
2020-04-02 20:05:14 +02:00
Geert Premereur
dc957ec104
CK-240: fix lint errors
2020-04-02 20:05:14 +02:00
Geert Premereur
a30a92a963
CK-240: fix multiple select interactions on map
...
event handlers have to be (de)activated when the interaction is added or removed to the map, not when constructed
added unit test
2020-04-02 20:05:14 +02:00
Matt Walker
5ce532e3e4
Mock PointerEvent in tests to include target
...
The `target` Event property is readonly as it is set internally when an
event is dispatched. This change uses a plain object with the essential
properties that a PointerEvent has which is sufficent for map event handling
2020-01-13 10:46:40 +00:00
Tobias Kohr
347f5df32e
Fix some cosmetics on Select interaction
2019-09-25 17:34:26 +02:00
Tobias Kohr
2ccaed0ace
Add back Select interaction without Overlay
2019-09-25 16:37:28 +02:00
Tobias Kohr
38124d770b
Revert delete Select interaction commit 3838b68427
2019-09-25 16:37:28 +02:00
Simon Seyock
3838b68427
Removed SelectInteraction
2019-09-24 10:12:30 +02:00
ahocevar
74e8e013cf
Use pepjs instead of our own pointerevent polyfill
2019-08-29 18:58:53 +02:00
ahocevar
8ab1589f9a
Add getOverlay method to access sketch and selection layers
2018-08-15 10:59:38 +02: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
8cba211ecd
Rename _ol_pointer_PointerEvent_ to PointerEvent
2018-01-11 13:44:45 -07:00
Tim Schaub
c9a91efc3d
Rename _ol_interaction_Select_ to Select
2018-01-11 12:10:54 -07:00
Tim Schaub
176021e188
Rename _ol_Collection_ to Collection
2018-01-11 12:06:58 -07:00
Tim Schaub
ca6ea355e6
Rename _ol_source_Vector_ to VectorSource
2018-01-10 09:36:28 -07:00
Tim Schaub
45c6e43b42
Rename _ol_layer_Vector_ to VectorLayer
2018-01-10 09:36:23 -07:00
Tim Schaub
1c1f008238
Rename _ol_View_ to View
2018-01-10 09:35:42 -07:00
Tim Schaub
22fce4f97b
Rename _ol_Feature_ to Feature
2018-01-10 09:35:35 -07: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
ec64789940
Rename _ol_MapBrowserPointEvent_ to MapBrowserPointerEvent
2017-12-15 16:18:32 +01:00
Marc Jansen
039bde29cc
Rename _ol_MapBrowserEventType_ to MapBrowserEventType
2017-12-15 16:18:32 +01:00
Tim Schaub
c502f016f7
Rename _ol_geom_Polygon_ to Polygon
2017-12-14 08:56:12 -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
c6c105b62f
Shared module for map browser event type enum
2016-12-27 13:48:50 -07:00
simonseyock
7392db0f57
Fixed issue with multi option of ol.interaction.Select
2016-09-13 13:29:44 +02:00
Tim Schaub
5643d3ec77
Missing requires in tests
2016-08-12 10:53:49 -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