diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-15 20:35:16 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-15 20:35:16 +1200 |
commit | 0ce1e7c09f0144b65c87377285acafaca1c711f5 (patch) | |
tree | ea7e37bb4013bbb660009898ac4b9da79c7f3d95 /web/app/view | |
parent | b6eecc8e8c0e024aa657e6874350ce0d8f3f372c (diff) | |
download | trackermap-server-0ce1e7c09f0144b65c87377285acafaca1c711f5.tar.gz trackermap-server-0ce1e7c09f0144b65c87377285acafaca1c711f5.tar.bz2 trackermap-server-0ce1e7c09f0144b65c87377285acafaca1c711f5.zip |
Fix inverted map coordinates (fix #1352)
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 }); |