Use the icon image cache
This commit is contained in:
1 parent
065663b242
commit
c2fe25ee26
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user