diff options
Diffstat (limited to 'web/app')
-rw-r--r-- | web/app/view/map/Map.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/map/Map.js b/web/app/view/map/Map.js index 82b76ee5..e906e6c4 100644 --- a/web/app/view/map/Map.js +++ b/web/app/view/map/Map.js @@ -119,7 +119,7 @@ Ext.define('Traccar.view.map.Map', { this.liveRouteSource = new ol.source.Vector({}); this.liveRouteLayer = new ol.layer.Vector({ source: this.liveRouteSource, - visible: false + visible: this.lookupReference('showLiveRoutes').pressed }); this.map.addLayer(this.liveRouteLayer); |