Andreas Hocevar
018ad97f25
Use generics to limit event types in on(), once() and un()
2021-06-20 22:25:47 +02: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
Andreas Hocevar
1530037765
Fix how renderMode is derived from options
2021-03-29 23:12:21 +02:00
Andreas Hocevar
45ba5792cc
Remove renderMode: 'image' for vector tile layers
2021-02-06 14:57:21 +01:00
Simon Seyock
8facb252f1
Replace google closure syntax = with brackets around name
2021-02-03 14:06:02 +01:00
Andreas Hocevar
ffdece9dac
Fix documentation of image render mode for vector tile layers
2020-10-16 10:31:39 +02:00
Andreas Hocevar
b0f20d6bd6
Use imports for enum types
2020-04-15 10:53:23 +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
4cf093ab75
add minZoom and maxZoom options
2020-02-17 16:58:46 +00:00
Andreas Hocevar
cf6cd09f58
Bring back vector render mode for vector tile layers
2019-11-18 10:40:05 +01:00
Andreas Hocevar
3c243b0236
getFeature() for VectorTile layer
2019-10-08 08:23:38 +02:00
Olivier Guyot
167fa6b8a0
Add property to all layers api doc
2019-09-24 10:58:55 +02:00
Kai Volland
83173cd385
Fixes typing issue in VectorTile.js
2019-06-21 13:30:35 +02:00
ahocevar
6c8c8a6477
Fix decluttering on VectorImage layers
2019-05-05 14:54:23 +02:00
ahocevar
12289b8ef9
Declutter in correct order and for all layers
2019-05-05 12:20:38 +02:00
Andreas Hocevar
88c213078e
Merge pull request #9179 from gberaudo/allow_image_declutter
...
Allow declutter with image render mode
2019-02-05 20:29:15 +01:00
Guillaume Beraudo
168edac4a6
Allow declutter with image render mode
...
Using declutter in image render mode is legitimate: each tile is
decluttered, avoiding symbol/text overlaps.
2019-02-05 17:25:00 +01:00
Frederic Junod
5318d52036
Use type template for the source type of layers
2019-02-04 09:58:48 +01:00
Frederic Junod
1be17e44a2
Fix comments indentation
2018-12-07 11:57:58 +01:00
Niklas Alt
e73931a9b2
Duplicate @property for style and renderOrder
2018-11-29 16:51:01 +01:00
Frederic Junod
cb44775306
Remove leftover comments and code for 'vector' render mode
2018-11-21 16:58:27 +01:00
Tim Schaub
20e5841aed
Remove vector mode for vector tile rendering
2018-11-16 14:56:48 +01:00
Florent gravin
d21a88edce
Remove map renderer dependency in layer renderer
2018-11-13 12:51:04 +01:00
Tim Schaub
ca5b0c63a5
Remove LayerType
2018-11-12 14:54:11 +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
Tim Schaub
c9529b9acd
Create the appropriate renderer for vector tile layers
2018-11-12 14:54:10 +01:00
Frederic Junod
6a797e84ff
Simplify import path in ol/layer/
2018-11-05 16:26:45 +01:00
Tim Schaub
d197864f5a
Remove RenderType enum from vector tile layer
2018-11-04 10:27:35 -07:00
ahocevar
9163558511
Replace instanceof checks with other logic
2018-10-12 20:35:59 +02:00
Kevin Schmidt
3781a6881d
Fix type check errors in ol/layer/VectorTile
2018-10-03 11:24:41 -06:00
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
Frederic Junod
db04052b7a
Fix default zIndex value and documentation for layer options
2018-08-29 11:33:09 +02:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
Jaap Koelewijn
2769953204
Fix JSDoc such that ng build --prod with angular/cli 6.0.8 succeeds again.
2018-07-23 01:05:26 +02:00
ahocevar
bbe0a66d07
Set api annotation on classdesc, not constructor
2018-07-21 17:25:22 +02:00
Tim Schaub
9ce36da349
Remove @extends and @constructor annotations
2018-07-18 00:36:29 -06:00
Tim Schaub
b7b15eb7f0
Remove unused inherits
2018-07-18 00:13:43 -06:00
Tim Schaub
1a5cf52b61
Remove remaining use of inherits in src
2018-07-17 23:43:10 -06:00
Tim Schaub
d0ab8dce38
Lint removal
2018-07-16 17:57:57 -06:00
Tim Schaub
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
Frederic Junod
3f55c0a985
Remove extra property in Vector and VectorTile typedef
2018-06-21 11:39:39 +02:00
ahocevar
e810387956
Fix some JSDoc issues
...
Also makes a few minor changes to the template, so it can be used until
we have a new doc generation process. JSDoc output is written to
build/apidoc.
2018-05-10 17:14:17 +02:00
Tim Schaub
8e7c88d9a5
Updated type annotations
2018-05-07 15:50:56 -06:00
ahocevar
9bfdf818e4
Rename Style~Function path type to Style~StyleFunction
2018-04-27 09:30:51 +02:00
ahocevar
59d904e509
Fix some types
2018-04-27 09:30:51 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
ahocevar
c23a5086ae
Fix enum types
2018-04-21 10:48:38 +02:00