Correctly create an icon image

This commit is contained in:
Tim Schaub
2017-08-18 17:35:59 -04:00
parent b44db8eb26
commit 93cfc063c3

View File

@@ -29,7 +29,7 @@ describe('ol.style.IconImageCache', function() {
for (i = 0; i < 4; ++i) {
src = i + '';
iconImage = new ol.style.IconImage(src, null);
iconImage = new ol.style.IconImage(null, src);
cache.set(src, null, null, iconImage);
}