changeset 229:b8c4870cf45f

start with zoom-level:1 (global view)
author fknauft
date Thu, 28 Apr 2011 17:30:31 +0200
parents 52112e9a8d72
children 9e34cd7b2e57
files gis_gui/blocks/layer.js gis_gui/blocks/map.js
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gis_gui/blocks/layer.js	Thu Apr 28 16:27:53 2011 +0200
+++ b/gis_gui/blocks/layer.js	Thu Apr 28 17:30:31 2011 +0200
@@ -137,7 +137,7 @@
         if (google != null) {
             var latlng = new google.maps.LatLng(29, 116);
             var mapOpts = {
-                    zoom: 5,
+                    zoom: 1,
                     center: latlng,
                     mapTypeId: google.maps.MapTypeId.TERRAIN
             };
--- a/gis_gui/blocks/map.js	Thu Apr 28 16:27:53 2011 +0200
+++ b/gis_gui/blocks/map.js	Thu Apr 28 17:30:31 2011 +0200
@@ -154,7 +154,7 @@
     if (google != null) {
         var latlng = new google.maps.LatLng(29, 116);
         var mapOpts = {
-                zoom: 5,
+                zoom: 1,
                 center: latlng,
                 mapTypeId: google.maps.MapTypeId.TERRAIN
         };