Commit Graph

2038 Commits

Author SHA1 Message Date
Andreas Hocevar
30d27a1d59 Merge pull request #13212 from ahocevar/multisource-webgl
Support multiple sources for WebGL tile layers
2022-01-19 08:43:22 +01:00
mike-000
1c81f60fec re-enable image smoothing after rendering 2022-01-14 10:31:17 +00:00
Andreas Hocevar
0004b2594d Support multiple sources for layers 2022-01-13 17:42:52 +01:00
Tim Schaub
647a0d8ece Support the wrapX option for WebGL rendered tile sources 2022-01-11 12:48:49 -07:00
Tim Schaub
a963ab7d1d Avoid failure if existing target has no background color 2022-01-07 15:05:31 -07:00
mike-000
766a336650 Add getDataAtPixel() method for WebGL 2022-01-03 13:00:56 +00:00
Tim Schaub
275ecca473 Use background property for vector layers 2022-01-01 11:51:06 -07:00
Tim Schaub
e2883fb658 Deprecate the imageSmoothing option for sources 2021-12-27 15:30:48 -07:00
Tim Schaub
2d510e71a9 Ensure that tile range covers all pixels 2021-12-23 17:50:49 -07:00
Tim Schaub
59186f2afd Support paletted rendering in WebGL 2021-12-22 11:14:46 -07:00
mike-000
351ca5866b update docs to include u_opacity 2021-12-22 10:48:25 +00:00
Tim Schaub
68ea485e69 Dispatch precompose and postcompose events for WebGL layers 2021-12-15 16:59:51 -07:00
Andreas Hocevar
238695a107 Merge pull request #13085 from ahocevar/layer-background
Add layer background
2021-12-06 20:39:19 +01:00
Tim Schaub
f5803ad6ca Support expressions for band arguments 2021-12-05 17:04:50 -07:00
Andreas Hocevar
3638df90f8 Add layer background 2021-12-06 00:07:15 +01:00
Tim Schaub
c2fc800fc1 Allow WebGL tile layer style to be updated 2021-12-02 16:32:00 -07:00
Tim Schaub
3bf1aef8e2 Avoid loading tiles outside the grid extent 2021-11-30 16:30:51 -07:00
Tim Schaub
6f80ba93c8 Add the renderer type to generic layer template variables 2021-11-19 10:56:37 -07:00
Tim Schaub
f336cf30b0 Additional types for WebGL renderer, sources, and tiles 2021-11-16 11:24:41 -07:00
Tim Schaub
71020bb5e4 Merge pull request #12976 from mike-000/WebGL-ReprojTile
Handle ReprojTile in ol/layer/WebGLTile
2021-11-16 09:40:00 -07:00
Tim Schaub
a2f3c02ac5 Allow canvas reuse for WebGL layers 2021-11-14 12:34:14 -07:00
Tim Schaub
0dfbedb099 Lazily create the WebGL helper 2021-11-13 11:37:09 -07:00
mike-000
4a80ebe1fc expire cache for tileGrid projection 2021-11-08 12:39:18 +00:00
Andreas Hocevar
58806aaec1 No context sharing when layer opacity is set 2021-11-05 15:00:56 +01:00
mike-000
655a49de7b Reuse temporary canvas in getDataAtPixel() 2021-11-04 13:09:16 +00:00
Andreas Hocevar
b7cd60a7d4 Merge pull request #12935 from mrpan/fixbug_declutter
fix bug #12913
2021-11-01 09:10:12 +01:00
Andreas Hocevar
c2877d56cb Apply suggestions from code review 2021-10-31 09:18:47 +01:00
Tim Schaub
2adf74ece4 Include WebGL context in render events for WebGL layers 2021-10-29 08:39:47 -06:00
giserpan
26c6538531 fix bug when select interaction crashes with empty vector layer when declutter: true 2021-10-29 16:17:08 +08:00
mike-000
54871b6c52 return null for unsupported layer types 2021-09-30 10:32:48 +01:00
MoonE
9e37182649 Merge pull request #12646 from ashchurova/fix-8136-hit-detection-custom-renderer
Support for hit detection in styles with custom rendering
2021-09-29 20:22:57 +02:00
Maximilian Krög
1942f3f91b Fix rendering VectorImage with no features in view extent 2021-09-27 23:04:58 +02:00
Andreas Hocevar
2e222083de Merge pull request #12804 from ahocevar/vectortiles-simpler-faster
Make vector tiles rendering simpler and a bit faster
2021-09-23 20:38:17 +00:00
Tim Schaub
b03b6b2e87 Merge pull request #12802 from tschaub/enqueue-next
Enqueue tiles at the next step in the animation
2021-09-23 20:37:38 +00:00
Andreas Hocevar
9aa890217c Render images only when we have frame budget left 2021-09-23 20:11:26 +00:00
Andreas Hocevar
74a628ac85 Remove unused tile image render queue 2021-09-23 19:47:10 +00:00
Tim Schaub
4dc66ef8e3 Enqueue tiles at the next resolution in the animation 2021-09-23 17:28:39 +00:00
Andreas Hocevar
6d427050ce Merge pull request #12792 from ahocevar/no-render-work-when-no-features
Do not do any canvas work when there are no features to render
2021-09-23 16:34:47 +00:00
Tim Schaub
a332842540 More cleanup in the WebGL tile layer's dispose method 2021-09-23 12:00:00 +00:00
Andreas Hocevar
46b21c2588 Do not do any canvas work when there are no features to render 2021-09-21 11:21:01 +00:00
Andreas Hocevar
610fd69120 Do not render vector tiles unless they are being used 2021-09-18 11:02:55 +02:00
Andreas Hocevar
c57c898381 Merge pull request #12760 from ahocevar/opacity
Fix opacity handling for tile and vector layers
2021-09-16 19:49:47 +02:00
Andreas Hocevar
2f5e6906b9 Fix opacity handling for tile and vector layers 2021-09-16 08:49:32 +02:00
Duck
17394cc8be Ensure the texture is loaded into the correct index.
The previous code would try to load subsequent textures into the 0th slot.
2021-09-15 15:10:08 -07:00
Andreas Hocevar
c9593b0cf6 Adjust resolution for user extent 2021-09-10 02:01:46 +02:00
Tim Schaub
d37e3e3134 Configure cache on the layer instead of the source 2021-08-27 18:04:00 -06:00
Anna Shchurova
aa58a358ea Added new 'hitDEtectionRenderer' property to ol.style.Style and used it in custom drawing 2021-08-20 15:10:59 -04:00
Andreas Hocevar
7acd5338c9 Allow sampling data from neighboring pixels 2021-08-18 11:24:37 +02:00
Andreas Hocevar
4526f2ef34 Properly handle alt tiles of transparent images 2021-08-18 11:24:34 +02:00
Andreas Hocevar
394873013c Do not render layer when outside extent 2021-08-18 11:24:32 +02:00