Commit Graph

201 Commits

Author SHA1 Message Date
Andreas Hocevar
aff4451fb1 Merge pull request #13823 from ahocevar/reduce-canvas-footprint
Reduce canvas memory footprint for better iOS stability
2022-07-15 20:35:09 +02:00
Andreas Hocevar
96e2400c46 Fix alignment of rotated image layers 2022-07-15 20:30:38 +02:00
Tim Schaub
04ad0e0c5a Additional uses of new source state type 2022-07-15 10:46:44 +02:00
Andreas Hocevar
f3a05ba82d Use device instead of data pixel ratio to determine canvas size 2022-07-10 23:06:41 +02:00
Duck
bd620bdf93 Add rendering test for the setFill/setStroke 2022-06-23 06:39:05 -07:00
Tim Schaub
25b2007636 Handle NaN nodata 2022-05-12 11:31:08 -06:00
Tim Schaub
a5c2c8d3d4 Merge pull request #13648 from tschaub/data-tile-size
Explicit data tile size
2022-05-07 10:16:40 -06:00
Tim Schaub
38b48bd341 Explicit data tile size 2022-05-06 14:47:10 -06:00
VLCEK Martin
6ab4d452a4 reference image from CI 2022-05-06 16:52:56 +02:00
VLCEK Martin
bce37b5650 Zoom out a bit for rendering test 2022-05-06 06:56:13 +02:00
VLCEK Martin
9adfe7aca6 improve test with overlapping circles. 2022-05-05 13:47:46 +02:00
VLCEK Martin
9338286661 improve test with overlapping circles. 2022-05-05 13:26:12 +02:00
VLCEK Martin
e1593ce59d Support declutter mode for image styles
Allows to specify for each image style, whether the image
should be decluttered, always drawn but still serving as
obstacle, or drawn without being an obstacle for other
images/texts.

The layer must still have declutter = true set for this
property to have any effect.
2022-05-05 12:34:00 +02:00
Andreas Hocevar
c2639f89f2 Merge pull request #13602 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-8.0.7
Bump ol-mapbox-style from 8.0.5 to 8.0.7
2022-05-04 00:53:17 +02:00
Andreas Hocevar
27830562fd Update test image 2022-05-04 00:39:30 +02:00
Tim Schaub
de9f6e2dc5 Handle rotation with non-square tiles 2022-04-25 10:40:37 -06:00
Andreas Hocevar
d315675ecc Merge pull request #13528 from burleight/webglpointslayer-wrap-x
WebGLPointsLayer wrapX support - partially addressing #11131
2022-04-17 17:34:01 +02:00
Andreas Hocevar
041b9a188a Use reference image from CI 2022-04-14 08:14:47 +02:00
Denis
359512c6b2 Add test for text justification within the text-box
See: https://github.com/openlayers/openlayers/issues/13481
2022-04-13 15:35:52 +02:00
mike-000
6ca44f6ffa add gutter option 2022-04-08 14:17:54 +01:00
Tomas Burleigh
d524d46969 WebGLPointsLayer wrapX support - partially addressing #11131
WebGLPointsLayer renderFrame and renderHitDetection will now draw
multiple worlds if the source and projection support wrapX.

Hit detection needs additional improvement. It stops working after
more than one wrap around the world. If 0 is the middle world, then
the hit detection works for worlds -1, 0, and -1, but not for worlds
> 2 or < -2.

The example has hit detection enabled, demonstrated with a colour
change on hover for the circle styles. When moving the mouse, the hit
detection is unreliable and flickers on/off. This needs improvement.

The webgl-points renderer test has been updated.
2022-04-01 13:35:13 +13:00
Tim Schaub
b8c04ee7c5 Store rendererd source on the layer instead of the layer state 2022-03-26 10:18:49 -06:00
mike-000
c4bf3f1e1a Change imageSmoothing to interpolate 2022-03-25 08:53:59 -06:00
Andreas Hocevar
18f06b8b9a Rich text labels 2022-02-23 12:36:56 +01:00
mike-000
44136af99d test with interpolated WebGL layer 2022-02-10 12:29:36 +00:00
MoonE
27a5103f3f Merge pull request #13337 from MoonE/fix-rendering-test
Fix error when accessing ready property of renderer
2022-02-07 22:38:05 +01:00
Tim Schaub
d9a11195e0 Merge pull request #13269 from mike-000/TileTexture-tilePixelRatio-gutter
Pass tilePixelRatio and gutter to TileTexture
2022-02-07 13:45:22 -07:00
Maximilian Krög
eaa6146156 Fix error when accessing ready property of renderer 2022-02-07 00:26:53 +01:00
Tim Schaub
adbbc05159 Avoid rendering outside WebGL layer and source extent 2022-02-05 21:02:22 -07:00
Tim Schaub
f10ba5c1e3 Avoid duplicate imports 2022-02-05 11:46:26 -07:00
mike-000
6a26e6a274 test gutter 2022-01-20 17:51:17 +00:00
mike-000
2a421b9362 test tilePixelRatio 2022-01-20 17:51:05 +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
Tim Schaub
275ecca473 Use background property for vector layers 2022-01-01 11:51:06 -07:00
Tim Schaub
8d8632bff7 Allow interpolation to be configured for data tile sources 2021-12-27 10:11:36 -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
bdb7b9740b new test 2021-12-21 23:21:41 +00:00
Tim Schaub
0cc3bae8fe Preserve the drawing buffer by default for WebGL layers 2021-12-18 12:25:03 -07:00
Tim Schaub
68ea485e69 Dispatch precompose and postcompose events for WebGL layers 2021-12-15 16:59:51 -07:00
Tim Schaub
acea9dc822 Rendering test for setting layer style 2021-12-02 17:16:35 -07:00
Tim Schaub
04ac30009b Normalize based on GDAL stats metadata 2021-12-01 09:46:37 -07:00
Tim Schaub
3bf1aef8e2 Avoid loading tiles outside the grid extent 2021-11-30 16:30:51 -07:00
Tim Schaub
eaea5b3bdc Update expectations 2021-11-29 08:10:09 -07:00
Andreas Hocevar
cafba311de Fix test styles to make them valid 2021-11-24 11:59:50 +01:00
Tim Schaub
f6f34f82e5 Allow data tile source loader to return a value or a promise 2021-11-20 13:55:33 -07:00
Tim Schaub
611d455708 Tests for and adjustments to unpack alignment handling 2021-11-19 21:11:32 -07:00
Tim Schaub
a2f3c02ac5 Allow canvas reuse for WebGL layers 2021-11-14 12:34:14 -07:00