diff --git a/src/view/Drawable.js b/src/view/Drawable.js index aa643ed2..6801e52a 100644 --- a/src/view/Drawable.js +++ b/src/view/Drawable.js @@ -58,6 +58,9 @@ var Drawable = Class.create(/** @lends Drawable.prototype */{ me.image = null; //load image dynamically var img = new Image(); + if(properties.crossOrigin){ + img.crossOrigin = properties.crossOrigin; + } img.onload = function(){ img.onload = null; me.init(img);