diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-11-02 23:24:40 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-11-02 23:24:40 +1300 |
commit | 383947fd6dbe7a26101f8217cbffafcd6cadadf8 (patch) | |
tree | 9dc56655e888dede277a42c721ab190293fd701b /src | |
parent | 119b1a9562aee0072c034017405df4cc94feaf35 (diff) | |
download | traccar-server-383947fd6dbe7a26101f8217cbffafcd6cadadf8.tar.gz traccar-server-383947fd6dbe7a26101f8217cbffafcd6cadadf8.tar.bz2 traccar-server-383947fd6dbe7a26101f8217cbffafcd6cadadf8.zip |
Change default zoom level
Diffstat (limited to 'src')
-rw-r--r-- | src/web/index.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/web/index.html b/src/web/index.html index e26f5049d..8bf468eff 100644 --- a/src/web/index.html +++ b/src/web/index.html @@ -176,7 +176,7 @@ setCenter: { * Also used as the zoom level for panoramas, zero specifies no zoom at all. * Defaults to <tt>3</tt>. */ - zoomLevel: 14, + zoomLevel: 3, /** * @cfg {Number} yaw * The Yaw, or rotational direction of the users perspective in degrees. Only applies to panoramas. @@ -820,7 +820,8 @@ Ext.onReady(function() { var map = Ext.create('Ext.ux.GMapPanel', { id: 'gmap', - setCenter: {lat: 0, lng: 0} + setCenter: {lat: 59.95, lng: 30.3}, + zoomLevel: 10 }); var devicesPanel = Ext.create('Ext.grid.Panel', { |