From 4012280ad461f21722711c6eaf5ea81fc3f4b036 Mon Sep 17 00:00:00 2001 From: Samuel Girard Date: Thu, 2 Aug 2018 08:59:24 +0200 Subject: [PATCH] Use class property for url --- src/ol/source/ImageStatic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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