Commit Graph

215 Commits

Author SHA1 Message Date
Maximilian Krög
559712f728 Fix some invalid html markup and some inconsistencies 2022-08-22 19:26:18 +02:00
Andreas Hocevar
43661e3bd1 Merge pull request #13975 from mike-000/do-not-scale-displacement
Do not scale Icon and RegularShape displacement
2022-08-18 12:30:20 +02:00
mike-000
3e0b942b15 test text rotation with offset 2022-08-16 22:56:28 +01:00
mike-000
4bc0ce0f03 do not scale displacement 2022-08-13 13:44:53 +01:00
mike-000
e6b4b08cac fix LUMINANCE_ALPHA 2022-08-12 15:55:25 +01:00
Tim Schaub
ca90dd6fd7 Merge pull request #13973 from mike-000/bandcount
Fix bandcount per texture for 8, 12, 16, etc. bands
2022-08-12 06:08:58 -06:00
mike-000
b5b53b244f fix bandcount per texture for 8, 12, 16, etc bands 2022-08-12 10:47:27 +01:00
mike-000
8bbeb31cfb correct setting of pixelRatio 2022-08-08 23:48:50 +01:00
Maximilian Krög
403b06b438 Use RegExp#test intead of String#match 2022-08-05 01:49:16 +02:00
mike-000
02807c8f95 Remove deprecated tilePixelRatio 2022-08-03 17:48:24 +01:00
MoonE
e17640c95a Merge pull request #13905 from MoonE/replace-enums
Replace enums with typedefs
2022-07-30 18:12:34 +02:00
Tim Schaub
ab48290bd7 Accept an object literal for static layer styling 2022-07-30 09:48:10 -06:00
Maximilian Krög
361f1ab837 Replace VectorTileRenderType enum with typedef 2022-07-30 15:06:12 +02:00
Olivier Guyot
5d21e548ae Webgl / add rendering tests for the vector layer renderer 2022-07-15 22:33:52 +02:00
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