diff --git a/src/item/Raster.js b/src/item/Raster.js index d1cc569a..e8873e13 100644 --- a/src/item/Raster.js +++ b/src/item/Raster.js @@ -408,7 +408,8 @@ var Raster = Item.extend(/** @lends Raster# */{ crossOrigin = this._crossOrigin; if (crossOrigin) image.crossOrigin = crossOrigin; - image.src = src; + if (src) + image.src = src; this.setImage(image); },