Rendering test for an icon

This commit is contained in:
Tim Schaub
2018-11-10 09:36:23 -07:00
parent 7dc5bf3e8d
commit f67e5642ab
6 changed files with 66 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -66,14 +66,6 @@ describe('ol.rendering.style.Icon', function() {
img.src = src;
}
it('tests the canvas renderer', function(done) {
createMap('canvas');
createFeatures('rendering/ol/data/icon.png', imgInfo, function() {
expectResemble(map, 'rendering/ol/style/expected/icon-canvas.png',
IMAGE_TOLERANCE, done);
});
});
it('scales svg correctly in the canvas renderer', function(done) {
createMap('canvas', 512, 512);
createFeatures('rendering/ol/data/me0.svg', {