Commit Graph

10 Commits

Author SHA1 Message Date
Frederic Junod e932233103 Fix typo in module name 2020-08-13 10:48:00 +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
Andreas Hocevar 79ccef7bf6 Do not append hit canvas to document body 2020-04-05 09:55:09 +02:00
Szabo Bogdan 6aa398cbec Fix hit detection for images with missing size 2020-03-26 21:23:23 +01:00
Andreas Hocevar 07b02fe947 Do not exceed color range 2020-02-17 21:58:45 +01:00
Andreas Hocevar d0b4967ec0 Fix feature lookup after removal of alpha 2019-11-18 08:56:20 +01:00
Andreas Hocevar fcd98774a0 Do not fail when hit detecting features without style 2019-11-14 14:32:11 +01:00
Andreas Hocevar ac50cc3460 New eslint config with no-multi-assign 2019-11-02 15:20:21 +01:00
Andreas Hocevar 4b13c6dae0 Speed up rendering by not using alpha 2019-10-30 14:36:23 +01:00
Andreas Hocevar 90d6a6f441 Move hit detection to its own module 2019-10-14 14:40:06 +02:00