aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/map
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/map')
-rw-r--r--web/app/view/map/Map.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/map/Map.js b/web/app/view/map/Map.js
index e70af0918..6e8ab6fad 100644
--- a/web/app/view/map/Map.js
+++ b/web/app/view/map/Map.js
@@ -30,8 +30,8 @@ Ext.define('Traccar.view.map.Map', {
listeners: {
afterrender: function() {
- var user = Traccar.getApplication().getUser();
- var server = Traccar.getApplication().getServer();
+ var user = Traccar.app.getUser();
+ var server = Traccar.app.getServer();
var layer;
var mapLayer = user.get('map') || server.get('map');