Commit Graph

45 Commits

Author SHA1 Message Date
Guillaume Beraudo
c33383d248 Add rendering test for transparent layer 2017-07-12 10:56:15 +02:00
Frederic Junod
9ae7df918f Update slimerjs to v0.10.3 2017-03-20 08:22:31 +01:00
Andreas Hocevar
7037ca211d Add rendering test for 192x256 tiles 2017-02-13 18:27:34 +01:00
Andreas Hocevar
ee7b894350 Refactor VectorTile renderer and add lower resolution clipping 2016-12-06 08:51:55 +01:00
GaborFarkas
dd7e49c217 Fix canvas cricle test 2016-11-23 09:51:37 +01: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
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
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
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
Tim Schaub
85d4fb6ac4 Add missing requires to rendering tests 2016-08-12 10:53:49 -06: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
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
Andreas Hocevar
6efd3dab0b Add rendering tests to ensure correct circle and polygon rendering (#5189) 2016-04-07 18:03:57 +02:00
Tim Schaub
88f8515fb6 Shorter names for drawing methods 2016-03-18 17:04:44 -06:00
Andreas Hocevar
577e45cd97 Do not rotate map canvas after composition
This requires to draw tile layers to an intermediate canvas again, but
only when the view is rotated.
2016-03-18 21:53:19 +01:00
Andreas Hocevar
a109062b1f Rotate map canvas after composition 2016-02-15 17:00:06 +01:00
Tim Schaub
3c0ef430db Use ol.object.assign() instead of goog.object.extend() 2016-02-04 06:54:43 -07:00
Bart van den Eijnden
7174f65da3 Make test pass on Firefox on OSX as well 2015-11-24 14:43:40 +01:00
Bart van den Eijnden
5f0ea2c2c7 Make the rendering tests pass in IE11
For 2 test cases, the thresholds were also too low for Chrome on OSX.
2015-11-24 14:35:18 +01:00
Andreas Hocevar
6280b35035 Scale StaticImage image to imageExtent
The imageSize property was only used to determine the scale. It's usage was
never documented nor tested nor shown in an example, so I removed it because I
considered its presence a bug.
2015-11-13 12:23:31 +01:00
Andreas Hocevar
c5f4710b8d Revert "Merge pull request #4344 from bartvde/issue-2844"
This reverts commit e5c44b37c9, reversing
changes made to 7f4c6e3634.
2015-11-12 19:17:07 +01:00
Bart van den Eijnden
979342091a Support different resolutions in x and y direction for ol.source.ImageStatic 2015-10-30 19:27:31 +01:00
Andreas Hocevar
5832943773 Make changes suggested during the review 2015-10-28 10:29:04 +01:00
Frederic Junod
496cece074 Remove use of goog.array.forEach 2015-09-29 10:55:17 +02:00
Tim Schaub
e3951fa3c6 Inline simple goog.isDef() calls 2015-09-27 10:34:44 -06:00
Andreas Hocevar
5e505f200a Snap center to pixel to avoid floating point issues 2015-07-28 14:02:09 +02:00
Andreas Hocevar
a753d282cc Use top-left corner of extent for all generated tile grids 2015-06-19 18:34:18 +02:00
Andreas Hocevar
b05193fa45 Replace ol.tilegrid.XYZ with an ol.tilegrid.createXYZ function 2015-05-05 18:52:33 +02:00
Andreas Hocevar
70452f4fa7 Add rendering tests 2015-04-16 09:15:34 +02:00
tsauerwein
c0a23dc818 Add first rendering tests 2015-04-06 13:36:35 +02:00