mirror of
https://github.com/traccar/traccar-web.git
synced 2025-01-09 04:37:33 +08:00
Use variable
This commit is contained in:
parent
3c06d96a76
commit
6bcc6ab2a9
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user