瀏覽代碼

武汉常福医院

laowo 3 年之前
父節點
當前提交
82037c9c8f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      WebRoot/view/frontpage/scripts/map.js

+ 2 - 2
WebRoot/view/frontpage/scripts/map.js

@@ -1640,7 +1640,7 @@ var draw_all = function() {
             d7a += obj.d7a;
             d7oc += obj.d7oc;
             d7ac += obj.d7ac;
-            if ((obj.lat > 30) && (obj.lat < 33) && (obj.lng > 120) && (obj.lng < 125)) {
+            if ((obj.lat > 30) && (obj.lat < 33) && (obj.lng > 100) && (obj.lng < 125)) {
                 totalLng += obj.lng;
                 totalLat += obj.lat;
                 latngCount++;
@@ -1944,7 +1944,7 @@ var chk_company_cur = function(idx) {
         if (idx >= StatusStore.length)
             idx = 0;
         var obj = StatusStore[idx];
-        if ((obj.lat > 30) && (obj.lat < 33) && (obj.lng > 120) && (obj.lng < 125))
+        if ((obj.lat > 30) && (obj.lat < 33) && (obj.lng > 100) && (obj.lng < 125))
             return idx;
         nrow++;
         if (nrow >= StatusStore.length)