Commit Graph

28 Commits

Author SHA1 Message Date
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
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 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
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
Andreas Hocevar 6efd3dab0b Add rendering tests to ensure correct circle and polygon rendering (#5189) 2016-04-07 18:03:57 +02: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
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
Andreas Hocevar 5e505f200a Snap center to pixel to avoid floating point issues 2015-07-28 14:02:09 +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