Commit Graph

19 Commits

Author SHA1 Message Date
Tim Schaub
2e4b2e10ab Fix additional doc links 2021-06-17 21:59:51 -06:00
Simon Seyock
a211666fd8 Added generic source option to layer option types 2021-06-17 18:54:28 +02:00
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
yonzmeer
4001b0c0b9 Remove update while interacting/animating from VectorImage
as described in issue 11250
2020-07-15 20:15:22 +03:00
Andreas Hocevar
bcc94baf22 Fix layer renderer scope issues 2020-04-15 10:53:26 +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
mike-000
c5885cc649 add minZoom and maxZoom options 2020-02-17 16:57:00 +00:00
Olivier Guyot
167fa6b8a0 Add property to all layers api doc 2019-09-24 10:58:55 +02:00
Frederic Junod
50343afa61 Remove unnecessary typecasts in constructors options 2019-06-03 09:08:41 +02:00
ahocevar
6c8c8a6477 Fix decluttering on VectorImage layers 2019-05-05 14:54:23 +02:00
Tim Schaub
36cf654f09 Full type definition for image vector layer options 2019-02-25 08:37:30 -07:00
Tim Schaub
8cea28e102 Add missing full stop in comment
Co-Authored-By: fredj <frederic.junod@camptocamp.com>
2018-11-23 08:24:20 +01:00
Andreas Hocevar
d1df9dae0d Pass baseOptions to parent constructor
Co-Authored-By: fredj <frederic.junod@camptocamp.com>
2018-11-22 10:27:29 +01:00
Frederic Junod
e66a84c897 Add imageRatio option for VectorImage layers 2018-11-22 09:38:08 +01:00
Florent gravin
d21a88edce Remove map renderer dependency in layer renderer 2018-11-13 12:51:04 +01:00
Tim Schaub
f6b838c635 Make webgl layer renderers dependencies of webgl layers 2018-11-12 14:54:11 +01:00
Tim Schaub
2ec509fbca Add an image vector layer for rendering vectors to an image 2018-11-12 14:54:11 +01:00