aboutsummaryrefslogtreecommitdiff
path: root/web/simple/app.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-23 14:20:46 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-23 14:20:46 +1300
commit082f7926b846f876613f27f21779b594e79ea0c7 (patch)
tree26b963db908446b59cae3b14403017342a82dd20 /web/simple/app.js
parentb156d60043e8b8498ebd1953acc5a2f77e0b7b44 (diff)
downloadtrackermap-web-082f7926b846f876613f27f21779b594e79ea0c7.tar.gz
trackermap-web-082f7926b846f876613f27f21779b594e79ea0c7.tar.bz2
trackermap-web-082f7926b846f876613f27f21779b594e79ea0c7.zip
Convert coordinates for the center
Diffstat (limited to 'web/simple/app.js')
-rw-r--r--web/simple/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/simple/app.js b/web/simple/app.js
index 5ae8ac2c..d622e5cc 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
})
});