Commit Graph

84 Commits

Author SHA1 Message Date
Frederic Junod 1d3eb2eb6e Use the default fill and stroke color 2017-03-07 12:04:22 +01:00
Andreas Hocevar 7037ca211d Add rendering test for 192x256 tiles 2017-02-13 18:27:34 +01:00
Frederic Junod 20c039135b Move updateSize test in the rendering tests 2017-02-06 14:25:55 +01:00
Thomas Chandelle 7a4ae3a6ac Line Dash offset 2017-01-04 11:19:47 +01:00
Tim Schaub 137cdc04c8 Remove ol.DEBUG 2017-01-01 20:37:52 -07:00
Tim Schaub 895a506025 Remove state enum from tile constructor 2016-12-27 10:17:26 -07:00
Frederic Junod 392cbcc138 Enforces spacing around commas 2016-12-14 13:42:47 +01:00
Andreas Hocevar 89ebf0a182 Merge pull request #6091 from tchandelle/linedash
Apply pixelRatio to line dash
2016-12-06 15:53:23 +01:00
Andreas Hocevar ee7b894350 Refactor VectorTile renderer and add lower resolution clipping 2016-12-06 08:51:55 +01:00
Thomas Chandelle 3b64133f21 Add tests for linedash for HiDPI display 2016-12-05 09:26:06 +01:00
Thomas Chandelle 9ffa103a79 Image rotation in WebGL was anti-clockwise 2016-11-25 09:02:20 +01:00
GaborFarkas dd7e49c217 Fix canvas cricle test 2016-11-23 09:51:37 +01:00
GaborFarkas a002474761 Fix typo in polygon rendering test 2016-11-23 09:51:36 +01:00
GaborFarkas 8e8098b362 Add some test to PolygonReplay 2016-11-23 09:51:36 +01:00
GaborFarkas 269c3eb943 Set WebGL LineString threshold to 14.6
This commit will be a fixup for the previous one, or get deleted eventually.
2016-11-23 09:49:48 +01:00
GaborFarkas e893603966 Add tests to LineStringReplay 2016-11-23 09:49:47 +01:00
Andreas Hocevar a2a2a53e08 Use geometry extent's top left corner as pattern/gradient origin 2016-10-27 21:27:17 +02:00
Frederic Junod 0345055cfb Use tile pixel ratio for gutter calculation (webgl and tests) 2016-10-20 13:15:06 +02:00
Andreas Hocevar b563e9079f Update expected result after #5950 2016-10-14 17:40:24 +02:00
Andreas Hocevar 78082e2833 Test all, not just one 2016-10-14 16:12:31 +02:00
Tim Schaub 7cf1e74ae3 Integration test for rendering a world spanning polygon 2016-10-06 20:48:58 -06:00
Tim Schaub f444800fc6 Only call beginPath once per MultiPolygon 2016-09-26 06:13:01 -06:00
Frédéric Junod 7ec100f3f8 Merge pull request #5863 from fredj/stroke_pattern
Allow CanvasPattern or CanvasGradient as stroke style
2016-09-14 08:38:41 +02:00
Frederic Junod e48fda6bef Allow CanvasPattern or CanvasGradient as stroke style 2016-09-13 17:16:29 +02:00
Andreas Hocevar c8c1578928 Add rendering tests for simplified polygons 2016-09-13 16:32:55 +02:00
Andreas Hocevar 710c95c5cd Merge pull request #5790 from ahocevar/fix-pixelratio
Fix vector tile rotation on HiDPI devices
2016-08-29 11:04:55 +02:00
Andreas Hocevar 2037e725b3 Move to 90° along the circle, not 0° 2016-08-29 09:30:23 +02:00
Andreas Hocevar cb7c15c767 Fix vector tile rotation on HiDPI devices 2016-08-27 23:03:07 +02:00
Andreas Hocevar 457de34485 Merge pull request #5708 from ahocevar/no-closepath
Remove unnecessary closePath() instructions
2016-08-25 17:05:52 +02:00
Andreas Hocevar b7c84b269c Merge pull request #5196 from ahocevar/batch-fill-stroke
Batch polygon and circle fills and strokes
2016-08-24 12:02:52 +02:00
Andreas Hocevar 395793b921 Additional tests and code comments 2016-08-24 11:44:15 +02:00
Frederic Junod 8e95d94f3e Add rotateWithView option to ol.style.Text 2016-08-23 13:26:02 +02:00
Andreas Hocevar 7e940e618e Introduce new overlaps option for Vector and VectorTile sources
Instead of deciding whether to batch fills and strokes by looking at the
opacity of the style, we now rely on user input.
2016-08-23 12:05:03 +02:00
Andreas Hocevar eed52552a9 Batch polygon and circle fills and strokes 2016-08-23 12:05:03 +02:00
Andreas Hocevar c1daf6f49f Add rendering tests for hidpi layer clipping 2016-08-23 10:55:56 +02:00
Frederic Junod e6ba9973f9 Increase the size of the map in ol.layer.Tile rendering tests 2016-08-22 09:03:27 +02:00
Frederic Junod 2fb5e544c2 Take the pixelRatio into account when computing the gutter 2016-08-17 13:33:03 +02:00
Tim Schaub 9e4d80b459 Move State to ol.Tile 2016-08-12 10:53:49 -06:00
Tim Schaub 85d4fb6ac4 Add missing requires to rendering tests 2016-08-12 10:53:49 -06:00
Andreas Hocevar 274593feef Add rendering test for closed paths 2016-08-11 15:56:52 +02:00
Tim Schaub 789aeb1c64 Toward a fix for ol.tilegrid 2016-08-08 10:22:28 -06:00
Tim Schaub 7d29b35e75 Put rendering test requires on top 2016-08-08 09:58:11 -06:00
Tim Schaub 1b8310a6fe Rename ol/objectutil.js to ol/obj.js 2016-08-07 10:49:12 -06:00
Andreas Hocevar 8719b79b5e Merge pull request #5599 from ahocevar/subpixel-center
Allow subpixel center on view
2016-08-03 09:19:09 +02:00
Andreas Hocevar 34d5cc228e Merge pull request #5429 from probins/testenums
Remove enums from tests
2016-07-15 09:12:58 +02:00
Andreas Hocevar 51e84e10f2 Allow subpixel center on view 2016-07-14 23:51:00 +02:00
Tim Schaub 728e1dd1f2 Merge pull request #5482 from ischneider/layer-extent
Fix for regression in tile layer extent
2016-06-30 15:19:13 -06:00
Andreas Hocevar 35129af7f0 Do not optimize lines away entirely 2016-06-23 10:38:10 +02:00
Ian Schneider 9d5232d9af canvas tests for tile rendering with layer.extent 2016-06-15 21:14:37 -06:00
Frederic Junod 4bf1f56405 Add missing semicolon 2016-06-09 15:39:46 +02:00