Use the icon image cache

This commit is contained in:
Éric Lemoine committed 2014-02-06 12:59:39 +01:00
1 parent 065663b242
commit c2fe25ee26
1 file changed
+1 -1
+1 -1
View File
@@ -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