Andreas Hocevar
f6496aa409
Fix base vector layer template generics
2022-01-04 18:04:53 +01:00
Andreas Hocevar
3638df90f8
Add layer background
2021-12-06 00:07:15 +01:00
Tim Schaub
6f80ba93c8
Add the renderer type to generic layer template variables
2021-11-19 10:56:37 -07:00
Maximilian Krög
c47fac19b5
Fix style related apidoc issues
2021-11-14 16:56:59 +01:00
Simon Seyock
c8f43050c4
Revert "Merge pull request #12416 from ahocevar/eventtype-generics"
...
This reverts commit b6c143deb2 , reversing
changes made to 7777821df5 .
2021-07-10 11:28:46 +02:00
Andreas Hocevar
79f5f46d27
Remove lint
2021-06-28 18:10:51 +02:00
Andreas Hocevar
b6c143deb2
Merge pull request #12416 from ahocevar/eventtype-generics
...
Use generics to limit event types in on(), once() and un()
2021-06-21 09:36:25 +02:00
Andreas Hocevar
018ad97f25
Use generics to limit event types in on(), once() and un()
2021-06-20 22:25:47 +02:00
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
Andreas Hocevar
8e862766fc
New decluttering implementation
2020-09-27 21:13:26 +02:00
Andreas Hocevar
04bc9ff0df
Improve types and docs for getStyle/setStyle
2020-06-11 13:53:59 +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
265eb5421d
add minZoom and maxZoom options
2020-02-17 16:51:08 +00:00
Andreas Hocevar
315695eeb8
New Layer#getFeatures method with fast hit detection for VectorLayer
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
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
ahocevar
12289b8ef9
Declutter in correct order and for all layers
2019-05-05 12:20:38 +02:00
Frederic Junod
1338a868e9
Remove setDeclutter function
...
Changing the declutter value after the layer creating doesn't work, remove the function to avoid confusion.
2019-02-27 11:41:08 +01:00
Frederic Junod
5318d52036
Use type template for the source type of layers
2019-02-04 09:58:48 +01:00
Tim Schaub
ca5b0c63a5
Remove LayerType
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
7ffaa134c7
Conditionally get renderer from the layer
2018-11-12 14:54:10 +01:00
Tim Schaub
6c052c0dab
Split vector layer into Canvas and WebGL implementations
2018-11-12 14:54:09 +01:00