diff --git a/lib/torque/renderer/point.js b/lib/torque/renderer/point.js index c5c78b4..8c36f13 100644 --- a/lib/torque/renderer/point.js +++ b/lib/torque/renderer/point.js @@ -294,32 +294,30 @@ var carto = global.carto || require('carto'); }, _preloadIcons: function(img_names){ var self = this; + this._icons = {}; if (img_names.length > 0 && !this._forcePoints){ - if (Object.keys(this._icons).length === 0){ - for (var i = 0; i