aboutsummaryrefslogtreecommitdiff
path: root/web/app/DeviceImages.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/DeviceImages.js')
-rw-r--r--web/app/DeviceImages.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/app/DeviceImages.js b/web/app/DeviceImages.js
index 1e63cf29..96f00980 100644
--- a/web/app/DeviceImages.js
+++ b/web/app/DeviceImages.js
@@ -73,6 +73,7 @@ Ext.define('Traccar.DeviceImages', {
imgSize: [width, height],
src: 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(new XMLSerializer().serializeToString(svg.documentElement))
});
+ image.load();
image.fill = color;
image.zoom = zoom;
image.angle = angle;