Rotate map canvas after composition

This commit is contained in:
Andreas Hocevar
2016-02-13 21:55:09 +01:00
parent 98b823c5fc
commit a109062b1f
12 changed files with 171 additions and 79 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 615 B

After

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@@ -78,7 +78,7 @@ describe('ol.rendering.Map', function() {
map.getView().setRotation(90);
map.getView().setCenter([10, 10]);
expectResemble(
map, 'spec/ol/expected/rotate-canvas.png', IMAGE_TOLERANCE, done);
map, 'spec/ol/expected/rotate-canvas.png', 2.8, done);
});
it('tests the WebGL renderer', function(done) {