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 |
|
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 |
|
Andreas Hocevar
|
311247265b
|
Add interim tiles handling
|
2021-08-18 11:24:26 +02:00 |
|
Tim Schaub
|
af80477c1d
|
Rendering raster tiles with WebGL
|
2021-08-18 11:24:23 +02:00 |
|
Simon Seyock
|
f636d68cce
|
Fix typing errors.
|
2021-08-06 17:14:17 +02:00 |
|
Simon Seyock
|
d6e0eb75fa
|
Use Source as default parameter for Layer.
|
2021-08-06 17:14:17 +02:00 |
|
Bryant Evans
|
709e933799
|
Forward LayerType type parameter to LayerRenderer
|
2021-07-12 09:00:20 +00:00 |
|
MoonE
|
7adaf7c1b5
|
Merge pull request #12442 from MoonE/fix-layer-extent
Fix layer render extent when it is not at all in view
|
2021-07-11 20:04:45 +02:00 |
|
Maximilian Krög
|
83226cc79a
|
Fix layer render extent when it is not at all in view
|
2021-07-11 18:27:48 +02:00 |
|
Maximilian Krög
|
f57413fc04
|
add tests for layer extent config
|
2021-07-11 18:27:48 +02:00 |
|
Maximilian Krög
|
7f088c2eb8
|
Fix gap in tiles due to floating point math
|
2021-07-06 21:55:24 +02:00 |
|
Andreas Hocevar
|
79f5f46d27
|
Remove lint
|
2021-06-28 18:10:51 +02:00 |
|
Maximilian Krög
|
e8b336d11e
|
Fix hitdetection image invalidation
|
2021-06-20 22:35:55 +02:00 |
|
Tim Schaub
|
c6a06018c3
|
Merge pull request #12368 from openlayers/dependabot/npm_and_yarn/typescript-4.3.2
Bump typescript from 4.2.4 to 4.3.2
|
2021-05-31 14:33:41 -06:00 |
|
Tim Schaub
|
9a38b3fc1c
|
Cast layer to base vector type
|
2021-05-31 14:25:21 -06:00 |
|
Andreas Hocevar
|
5ab7cbf905
|
Simpler and faster VectorTile loading
|
2021-05-30 21:22:03 +02:00 |
|
Maximilian Krög
|
bf0671fc08
|
Fix layer canvas reuse
If the scale values have more than 6 decimals they are rounded and can no longer be
compared to the created transform string.
|
2021-05-18 15:43:55 +02:00 |
|
MoonE
|
d09e303672
|
Merge pull request #12016 from MoonE/hitdetect-resolution-constant
Fix VectorLayer hitdetect problems
|
2021-02-27 20:50:31 +01:00 |
|
Maximilian Krög
|
29349d275e
|
Always return Promise from getFeatures
|
2021-02-24 18:37:30 +01:00 |
|
Andreas Hocevar
|
0f953193ea
|
Merge pull request #12018 from ahocevar/only-render-image-when-needed
Only render vector tile image when needed
|
2021-02-11 08:35:57 +01:00 |
|
Andreas Hocevar
|
2d8e7d87ba
|
Always use same order for renderedTiles
|
2021-02-10 21:24:06 +01:00 |
|
Andreas Hocevar
|
ea961c859c
|
Only render vector tile image when needed
|
2021-02-10 19:59:39 +01:00 |
|
Maximilian Krög
|
5a7e4dfaf6
|
Add a constant for the hit-detection resolution
|
2021-02-10 01:04:19 +01:00 |
|