aboutsummaryrefslogtreecommitdiff
path: root/web/app/Resources.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-26 11:35:06 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-26 11:35:06 +1200
commitbd7a6ae5a724b6c23cb7f339c1ef7977662a779b (patch)
treefe0b748147d7fe814eae5a8f174e685d20394805 /web/app/Resources.js
parentca542b3d628ff3fcbc9e26fb2338029a55559e76 (diff)
downloadtrackermap-server-bd7a6ae5a724b6c23cb7f339c1ef7977662a779b.tar.gz
trackermap-server-bd7a6ae5a724b6c23cb7f339c1ef7977662a779b.tar.bz2
trackermap-server-bd7a6ae5a724b6c23cb7f339c1ef7977662a779b.zip
Set default map position
Diffstat (limited to 'web/app/Resources.js')
-rw-r--r--web/app/Resources.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/web/app/Resources.js b/web/app/Resources.js
index 446c59594..65c1e485f 100644
--- a/web/app/Resources.js
+++ b/web/app/Resources.js
@@ -26,8 +26,10 @@ var styles = {
report_time: 100,
report_format: 'Y-m-d H:i:s',
- map_center: [ -0.1275, 51.507222 ],
- map_zoom: 6,
+ map_default_lat: -0.1275,
+ map_default_lon: 51.507222,
+ map_default_zoom: 6,
+
map_max_zoom: 16,
map_select_color: 'rgba(0, 255, 0, 1.0)',
map_select_radius: 10,