diff options
Diffstat (limited to 'web/app/view')
-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 6b323e555..9d9a92886 100644 --- a/web/app/view/map/Map.js +++ b/web/app/view/map/Map.js @@ -63,7 +63,7 @@ Ext.define('Traccar.view.map.Map', { var zoom = user.get('zoom') || server.get('zoom') || styles.mapDefaultZoom; this.mapView = new ol.View({ - center: ol.proj.fromLonLat([lat, lon]), + center: ol.proj.fromLonLat([ lon, lat ]), zoom: zoom, maxZoom: styles.mapMaxZoom }); |