Revert "Merge pull request #4339 from bartvde/issue-4337"

This reverts commit 7f4c6e3634, reversing
changes made to c5dac0aa70.
This commit is contained in:
Bart van den Eijnden
2015-11-12 20:29:54 +01:00
parent 70d376f215
commit b426fa5509
3 changed files with 3 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 838 B

View File

@@ -30,7 +30,7 @@ describe('ol.rendering.style.Icon', function() {
disposeMap(map);
});
function createFeatures(callback, offset) {
function createFeatures(callback) {
var feature;
feature = new ol.Feature({
geometry: new ol.geom.Point([0, 0])
@@ -44,7 +44,6 @@ describe('ol.rendering.style.Icon', function() {
anchorXUnits: 'fraction',
anchorYUnits: 'pixels',
opacity: 0.75,
offset: offset,
scale: 0.5,
img: img,
imgSize: [32, 48]
@@ -64,14 +63,6 @@ describe('ol.rendering.style.Icon', function() {
});
});
it('tests the canvas renderer with an offset', function(done) {
map = createMap('canvas');
createFeatures(function() {
expectResemble(map, 'spec/ol/style/expected/icon-canvas-offset.png',
IMAGE_TOLERANCE, done);
}, [10, 10]);
});
it('tests the WebGL renderer', function(done) {
assertWebGL();
map = createMap('webgl');