浏览代码

git-svn-id: https://192.168.57.71/svn/qt@61 12fe181a-e57f-b044-8676-16dc139aa63e

ld_zhoutl 8 年之前
父节点
当前提交
6693ba137c
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      jdc/jdcweb/trunk/src/main/webapp/static/xt/js/sys/basic_info.js

+ 3 - 3
jdc/jdcweb/trunk/src/main/webapp/static/xt/js/sys/basic_info.js

@@ -1813,7 +1813,7 @@ function showDetailGQ(gqid, isZoom) {
         if (result) {
             openrbwin(result.name, content, 230, 250);
             if (isZoom) {
-                setMapCenter(result.lat, result.lon, 3);
+                setMapCenter(result.lat, result.lon, 8);
             }
             showGangQuFeature(gqid);
         }
@@ -1846,7 +1846,7 @@ function showBoWeiFeture(bwid) {
             var feature = boweiFeatures[i];
             if(bwid == feature.data.ID) {
                 var bounds = feature.geometry.getBounds().getCenterLonLat();
-                setMapCenter(bounds.lat, bounds.lon, 10);
+                setMapCenter(bounds.lat, bounds.lon, 13);
                 boweiVectorLayer.addFeatures(feature);
                 boweiSelect.activate();
             }
@@ -1903,7 +1903,7 @@ function selectBoWeiCompleted(queryEventArgs) {
                     };
                     selectFeature = feature;
                     var bounds = feature.geometry.getBounds().getCenterLonLat();
-                    setMapCenter(bounds.lat, bounds.lon, 10);
+                    setMapCenter(bounds.lat, bounds.lon, 13);
                     boweiVectorLayer.addFeatures(feature);
                     boweiSelect.activate();
                 }