diff --git a/src/ol/source/ImageStatic.js b/src/ol/source/ImageStatic.js index a9e99a7eeb..77677fb243 100644 --- a/src/ol/source/ImageStatic.js +++ b/src/ol/source/ImageStatic.js @@ -66,7 +66,7 @@ class Static extends ImageSource { * @private * @type {module:ol/Image} */ - this.image_ = new ImageWrapper(this.imageExtent_, undefined, 1, options.url, crossOrigin, imageLoadFunction); + this.image_ = new ImageWrapper(this.imageExtent_, undefined, 1, this.url_, crossOrigin, imageLoadFunction); /** * @private