Commit Graph

185 Commits

Author SHA1 Message Date
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
Andreas Hocevar
57eaf69c1a Add rendering test 2021-11-05 21:16:18 +01:00
Tim Schaub
9224678627 Simplified ESLint config 2021-10-12 09:03:53 -06:00
Tim Schaub
a5e236fe0c Update expectations for vector tile icon label rendering 2021-09-24 13:24:14 +00:00
Andreas Hocevar
df493725c6 Fix sprite offset for pixel ratio !== 1 2021-08-30 22:05:34 +02:00
Andreas Hocevar
814d70b1cc Add more tests 2021-08-18 17:54:48 +02:00
Andreas Hocevar
27d915aefa Replace reference image to match that of the CI 2021-08-05 09:17:29 +02:00
Andreas Hocevar
36fc2c042a Update rendering test reference image 2021-08-01 11:03:47 +02:00
Andreas Hocevar
de460cfb09 Change import 2021-07-26 13:13:54 +02:00
Andreas Hocevar
94537e331f Update renderring test reference images 2021-07-11 14:20:20 +02:00
Andreas Hocevar
ba2f5c83ee Update loglevel instantiation 2021-07-06 09:24:41 +02:00
Maximilian Krög
0bad083056 Test getVectorContext with pixelRatio 2 and TileLayer 2021-07-04 18:33:40 +02:00
Andreas Hocevar
6aeed0ff96 Merge pull request #12373 from mike-000/patch-1
Rework TileDebug to allow TMS coordinates and to fix reprojection
2021-06-29 14:28:09 +02:00
mike-000
db1fa9b659 New test 2021-06-29 10:53:45 +01:00
Andreas Hocevar
79f5f46d27 Remove lint 2021-06-28 18:10:51 +02:00
Maximilian Krög
74db0e7d21 Add render test for immediate render with pixel ratio 2 2021-06-17 23:21:30 +02:00
mike-000
269b3c49ee more precision expected 2021-06-09 15:13:27 +01:00