Commit Graph

169 Commits

Author SHA1 Message Date
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
mike-000 82cc9fe0e6 more precision expected 2021-06-09 15:03:45 +01:00
mike-000 cb52f809af more precision expected 2021-06-09 15:00:38 +01:00
Tim Schaub c301d2413b Modules all the way 2021-05-01 10:17:04 -06:00
Tim Schaub d72368667d Allow ol-mapbox-style to import from ol/style/Style etc. 2021-04-28 10:40:49 -07:00
Tim Schaub 490cfabe91 Organize tests 2021-04-28 09:23:33 -07:00
Kai Volland 94edf32540 Removes artifacts of old rendering test approach
Data and comparison images of the old rendering test approach
are removed as every test is transformed to the new approach.
2019-04-01 15:56:03 +02:00
Kai Volland 91d2f98774 Replaces listener test in tile.tests.js
Transforms the old render listener test to
the new rendering test approach.
2019-04-01 15:53:19 +02:00
Marc Jansen 061965ecb7 Merge pull request #9362 from KaiVolland/text-rendering
Use local font "Ubuntu Regular" for rendering tests
2019-03-25 22:08:05 +01:00
Kai Volland bff3e88343 Replaces clip.test.js with new tests
Transforms the old rendering test for
layer clipping to the new rendering test approach.
2019-03-25 11:13:04 +01:00
Kai Volland 681a8f1d9c Replaces remaining vectorimage.tests.js
Transforms the old rendering tests for the VectorImageLayer
decluttering to the new rendering test approach.
2019-03-22 10:14:41 +01:00
Kai Volland 7510a19c73 Replaces vectorimage.tests.js (partially)
Transforms the old rendering tests for the VectorImageLayer
to the new rendering test approach.
The declutter tests are kept in the old format for know.
2019-03-19 11:30:45 +01:00
Kai Volland ac3a2d960a Replaces tile.tests.js (partially) with new tests
Transforms the old rendering tests for the TileLayer
to the new rendering test approach.
The render-listener test is kept in the old format for know.
2019-03-18 16:39:37 +01:00
Kai Volland fc878fd539 Replaces vectortile.tests.js with new tests
Transforms the old rendering tests for the VectorTileLayer
to the new rendering test approach.
2019-03-18 16:15:58 +01:00
Kai Volland f555048319 Replaces vector.tests.js with new tests
Transforms the old rendering tests for the LayerVector
to the new rendering test approach.
2019-03-18 15:39:48 +01:00
Kai Volland 6759641715 Replaces image.tests.js with new tests
Transforms the old rendering tests for the ImageLayer
to the new rendering test approach.
2019-03-18 13:56:45 +01:00
Kai Volland 58cebcc97f Replaces tilewms.tests.js with new tests
Transforms the old rendering tests for the TileWMSSource
to the new rendering test approach.
2019-03-15 14:30:23 +01:00