fengxiang
2018-05-29 2e342d040375b2c0a353357353200a6e07c8f87e
src/main/webapp/view/map.jsp
@@ -350,7 +350,12 @@
          var maxBounds = moralMap.getMaxBounds();
          var paramMap = {};
          paramMap["orgId"]=  params['orgId'];
          $.extend(paramMap,maxBounds);
          // 为了适配旧接口
            paramMap["Fe"]=  maxBounds.northeastLat;//东北角纬度,大一点
            paramMap["Ge"]=  maxBounds.northeastLng;//东北角经度,大一点
            paramMap["Ke"]=  maxBounds.southwestLat;//西北角纬度坐标,小一点
            paramMap["Le"]=  maxBounds.southwestLng;//西北角经度坐标,小一点
          // $.extend(paramMap,maxBounds);
         loadLazy(url,paramMap,callback);
       }
   }
@@ -419,10 +424,11 @@
            var bounds = moralMap.getBounds();
           paramMap["areaCode"]=  params['areaCode'];
           paramMap["orgId"]=  params['orgId'];
           paramMap["Fe"]=  bounds['Fe'];//东北角纬度,大一点
           paramMap["Ge"]=  bounds['Ge'];//东北角经度,大一点
           paramMap["Ke"]=  bounds['Ke'];//西北角纬度坐标,小一点
           paramMap["Le"]=  bounds['Le'];//西北角经度坐标,小一点
           // 为了适配旧接口
           paramMap["Fe"]=  bounds.northeastLat;//东北角纬度,大一点
           paramMap["Ge"]=  bounds.northeastLng;//东北角经度,大一点
           paramMap["Ke"]=  bounds.southwestLat;//西北角纬度坐标,小一点
           paramMap["Le"]=  bounds.southwestLng;//西北角经度坐标,小一点
            loadLazy("getMonitorpointList",paramMap,addOverMpoints);
            startRefreshPage();
   });
@@ -526,6 +532,8 @@
       parma["markerKeys"] = markerKeys;
        parma["areaCode"] = moralMap['params']["areaCode"];
        parma["orgId"] = moralMap['params']["orgId"];
        if((!!parma["popupEquMacs"]&&!!parma["popupEquMacs"].length)
         ||(!!parma["markerKeys"]&&!!parma["markerKeys"].length)){
        $.ajax({
         type: "post",
         url: "get-real-state-data",
@@ -571,4 +579,5 @@
         }
      });
   }
   }
</script>