aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/map/Map.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/map/Map.js')
-rw-r--r--web/app/view/map/Map.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/app/view/map/Map.js b/web/app/view/map/Map.js
index 00daa774c..5702ff7b5 100644
--- a/web/app/view/map/Map.js
+++ b/web/app/view/map/Map.js
@@ -58,14 +58,14 @@ Ext.define('Traccar.view.map.Map', {
source: this.vectorSource
});
- var lat = user.get('latitude') || server.get('latitude') || styles.map_default_lat;
- var lon = user.get('longitude') || server.get('longitude') || styles.map_default_lon;
- var zoom = user.get('zoom') || server.get('zoom') || styles.map_default_zoom;
+ var lat = user.get('latitude') || server.get('latitude') || styles.mapDefaultLat;
+ var lon = user.get('longitude') || server.get('longitude') || styles.mapDefaultLon;
+ var zoom = user.get('zoom') || server.get('zoom') || styles.mapDefaultZoom;
this.mapView = new ol.View({
center: ol.proj.fromLonLat([lat, lon]),
zoom: zoom,
- maxZoom: styles.map_max_zoom
+ maxZoom: styles.mapMaxZoom
});
this.map = new ol.Map({