From c2fe25ee2608ae36690082d027472fa19b53aca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 3 Feb 2014 14:22:30 +0100 Subject: [PATCH] Use the icon image cache --- src/ol/style/iconstyle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/style/iconstyle.js b/src/ol/style/iconstyle.js index c04b9a9bd8..041daefb4b 100644 --- a/src/ol/style/iconstyle.js +++ b/src/ol/style/iconstyle.js @@ -64,7 +64,7 @@ ol.style.Icon = function(opt_options) { * @private * @type {ol.style.IconImage_} */ - this.iconImage_ = new ol.style.IconImage_(options.src, crossOrigin); + this.iconImage_ = ol.style.IconImage_.get(options.src, crossOrigin); /** * @private