Commit Graph

10 Commits

Author SHA1 Message Date
Andreas Hocevar
432bd7f851 Allow custom properties in the constructor using the properties option 2021-05-24 23:23:51 +02:00
Simon Seyock
8facb252f1 Replace google closure syntax = with brackets around name 2021-02-03 14:06:02 +01:00
Simon Seyock
419578a96c Improve layer typings 2021-01-26 15:49:39 +01: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
mike-000
3dc4e546bf add minZoom and maxZoom options 2020-02-17 16:47:55 +00:00
Olivier Guyot
167fa6b8a0 Add property to all layers api doc 2019-09-24 10:58:55 +02:00
Frederic Junod
5318d52036 Use type template for the source type of layers 2019-02-04 09:58:48 +01:00
ahocevar
47679a9686 Document the correct render events 2019-01-31 14:05:10 +01:00
Tim Schaub
ca5b0c63a5 Remove LayerType 2018-11-12 14:54:11 +01:00
Tim Schaub
285a610c46 Base for image layers, renderer-specific image layer types 2018-11-12 14:54:10 +01:00