aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/MapController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/MapController.js')
-rw-r--r--web/app/view/MapController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/MapController.js b/web/app/view/MapController.js
index b2dcd75..050adce 100644
--- a/web/app/view/MapController.js
+++ b/web/app/view/MapController.js
@@ -215,7 +215,7 @@ Ext.define('Traccar.view.MapController', {
])
])
});
- liveLine.setStyle(this.getRouteStyle(position.get('deviceId')));
+ liveLine.setStyle(this.getRouteStyle(deviceId));
this.liveRoutes[deviceId] = liveLine;
this.getView().getLiveRouteSource().addFeature(liveLine);
}