diff options
author | Abyss777 <abyss@fox5.ru> | 2016-10-28 14:44:05 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-10-28 14:44:05 +0500 |
commit | 6bcc6ab2a9cd097e543ede5ee520034221045b3e (patch) | |
tree | fc591e0ebfd98beb287ab8d5332109a0ada7a7ea | |
parent | 3c06d96a76f09e918ff6683596ee4ab91e774110 (diff) | |
download | trackermap-web-6bcc6ab2a9cd097e543ede5ee520034221045b3e.tar.gz trackermap-web-6bcc6ab2a9cd097e543ede5ee520034221045b3e.tar.bz2 trackermap-web-6bcc6ab2a9cd097e543ede5ee520034221045b3e.zip |
Use variable
-rw-r--r-- | web/app/view/MapController.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/MapController.js b/web/app/view/MapController.js index b2dcd75d..050adce1 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); } |