Simon Seyock
d6e0eb75fa
Use Source as default parameter for Layer.
2021-08-06 17:14:17 +02:00
Tim Schaub
9a38b3fc1c
Cast layer to base vector type
2021-05-31 14:25:21 -06:00
Andreas Hocevar
8e862766fc
New decluttering implementation
2020-09-27 21:13: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
Frederic Junod
dda7342ea7
Remove all inheritDoc tags from src/ol/renderer
2020-04-03 09:08:09 +02:00
Andreas Hocevar
fd935bae53
Remove label cache, render text directly to target canvas
2020-01-13 22:12:53 +01:00
Andreas Hocevar
cefc57622b
Remove map renderer element when disposing
2019-12-08 17:52:28 +01:00
Andreas Hocevar
bb2bdb17aa
Render vector tile layers to a single canvas
2019-10-31 20:29:19 +01:00
Andreas Hocevar
6a53ed3a68
Get hasOverlay from child element count
2019-09-23 08:40:00 +02:00
Tim Schaub
65ad4932f4
Support zoom limits for layers
2019-08-06 21:19:09 -04:00
Kai Volland
f507efe77d
Fixes typing issue in Composite.js
2019-06-21 13:31:27 +02:00
ahocevar
8c21c9196d
Move label cache listener management to the renderer
2019-06-03 15:13:30 +02:00
ahocevar
6123be726a
Handle layer removal on shared containers
2019-06-02 13:59:06 +02:00
Frederic Junod
40c49a9ce5
Remove layerState param from prepareFrame and renderFrame function
2019-05-25 07:19:10 +02:00
ahocevar
a45e704be2
Smarter reuse detection
2019-05-22 16:46:46 +02:00
ahocevar
d1f1b468b1
Reuse target for image layers
2019-05-22 16:46:46 +02:00
ahocevar
a55505b36a
Reuse containers for tile, vector and vector tile layers
2019-05-22 16:46:40 +02:00
ahocevar
606443bc6d
Pass render target of previous layer to next layer
2019-05-22 15:56:51 +02:00
ahocevar
b0fae46aa6
Do not use css z-index
2019-05-16 22:29:32 +02:00
ahocevar
335648d613
Remove memory leak caused by label cache listeners
2019-05-16 21:04:55 +02:00
Olivier Guyot
c9d1725f5c
Composite renderer / trigger a render even when the source is undefined
2019-05-13 16:16:53 +02:00
Andreas Hocevar
6e3d3d4877
Merge pull request #9466 from ahocevar/declutter-global
...
Declutter in correct order and for all layers
2019-05-07 14:33:24 +02:00
ahocevar
ba6ac43a28
Fix zIndex handling for unmanaged layers
2019-05-05 13:24:46 +02:00
ahocevar
12289b8ef9
Declutter in correct order and for all layers
2019-05-05 12:20:38 +02:00
Andreas Hocevar
66ec9983b2
Fix module path
2018-11-25 14:19:56 +01:00
Tim Schaub
898c349fbf
Stacking contexts for layers, overlays, and controls
2018-11-19 11:00:33 -07:00
ahocevar
366588d07e
Avoid layers getting rendered above the overlay container
2018-11-17 18:12:43 +01:00
Frederic Junod
a64ca2b4bf
Use CSS z-index to order layers
2018-11-17 09:03:59 +01:00
Tim Schaub
5ad73f8bbd
Implement getDataAtPixel for all layer renderers
2018-11-16 14:57:14 +01:00
Tim Schaub
32495388b9
Transform origin top left
2018-11-16 14:57:13 +01:00
Tim Schaub
3f624ec0c0
Make map methods tolerant of layers without renderers
2018-11-15 12:35:54 +01:00
Frédéric Junod
7a472321c4
Merge pull request #8930 from fredj/better_export_example
...
Give the layers container a CSS class name
2018-11-14 16:24:12 +01:00
Tim Schaub
d6e8711172
Merge pull request #8922 from fgravin/layerrenderapi
...
Layer is reponsible for its renderer
2018-11-14 16:09:23 +01:00
Frederic Junod
bdf98d9003
Give the layers container an CSS class name
2018-11-13 17:04:07 +01:00
Florent gravin
c2c599a517
Layer is now responsible of its rendering
2018-11-13 12:51:04 +01:00
Frederic Junod
09d87bf33d
Remove unneeded 'relative' positioning
2018-11-13 11:36:45 +01:00
Florent gravin
4c787c7f57
Set composite root div position relative
2018-11-12 21:51:39 +01:00
Tim Schaub
432b74d64d
Apply all transforms in the layer renderer
2018-11-12 20:57:36 +01:00
Tim Schaub
afc64258af
Support for rotation
2018-11-12 18:33:02 +01:00
Tim Schaub
8bf252e70f
Handle layer opacity in the composite renderer
2018-11-12 15:16:06 +01:00
Tim Schaub
43ed2c1764
Composite renderer
2018-11-12 14:54:52 +01:00
Tom Payne
f3d9b3332c
Move code to be merged into src/attic
2012-07-26 00:21:37 +02:00
Tim Schaub
df1dfd5295
Adding exports to get advanced compilation.
2012-06-23 15:22:37 +02:00
ahocevar
d391c65ac6
New pixel conversion and zoom/center related methods.
2012-06-23 14:21:37 +02:00
Tim Schaub
7b41119bc9
Composite renderer creates layer renderers.
2012-06-22 19:46:40 +02:00
Tim Schaub
c67ca2660d
Partial tile layer renderer.
2012-06-21 19:59:43 +02:00
Tim Schaub
2741a22cf1
Add animate to draw.
2012-06-21 13:31:23 +02:00
Tim Schaub
a6f464e473
New name for element.
...
You are provided a container. To this container you can append elements, and you are responsible for removing elements that you add. You cannot move or otherwise alter anything about this container.
2012-06-21 13:28:29 +02:00
Tim Schaub
45f734d77e
Base for map renderer.
2012-06-21 11:40:51 +02:00
Tim Schaub
9cc501caba
Composite renderer requires an element.
2012-06-21 11:30:53 +02:00