aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/map/Map.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 11:03:05 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 11:03:05 +1200
commita265f39cef279d84bbeee5be68c17d22896bb685 (patch)
tree0f5b1e9f6e2db005dcda388c160f63c92fef236a /web/app/view/map/Map.js
parente301d477ee95c0ae7f3d06f0950368cb5d8fe226 (diff)
downloadtrackermap-server-a265f39cef279d84bbeee5be68c17d22896bb685.tar.gz
trackermap-server-a265f39cef279d84bbeee5be68c17d22896bb685.tar.bz2
trackermap-server-a265f39cef279d84bbeee5be68c17d22896bb685.zip
Rename style properties
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({