diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-23 14:20:46 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-23 14:20:46 +1300 |
commit | 082f7926b846f876613f27f21779b594e79ea0c7 (patch) | |
tree | 26b963db908446b59cae3b14403017342a82dd20 /web/simple | |
parent | b156d60043e8b8498ebd1953acc5a2f77e0b7b44 (diff) | |
download | etbsa-traccar-web-082f7926b846f876613f27f21779b594e79ea0c7.tar.gz etbsa-traccar-web-082f7926b846f876613f27f21779b594e79ea0c7.tar.bz2 etbsa-traccar-web-082f7926b846f876613f27f21779b594e79ea0c7.zip |
Convert coordinates for the center
Diffstat (limited to 'web/simple')
-rw-r--r-- | web/simple/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/simple/app.js b/web/simple/app.js index 5ae8ac2..d622e5c 100644 --- a/web/simple/app.js +++ b/web/simple/app.js @@ -45,7 +45,7 @@ var map = new ol.Map({ ], target: 'map', view: new ol.View({ - center: [0, 0], + center: ol.proj.fromLonLat([0, 0]), zoom: 2 }) }); |