From 1707b3025ef72864abb7ef7e7cd844bd9b27f171 Mon Sep 17 00:00:00 2001 From: ZhuDongming <773644075@qq.com> Date: Wed, 13 Nov 2019 16:28:39 +0800 Subject: [PATCH] 污染溯源sql查询优化 --- src/main/webapp/js/moralmap.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/js/moralmap.js b/src/main/webapp/js/moralmap.js index 313ae6e..fe910a3 100644 --- a/src/main/webapp/js/moralmap.js +++ b/src/main/webapp/js/moralmap.js @@ -157,10 +157,10 @@ // ��������������� moralMap.Bounds = function (baiduBounds) { if(!!baiduBounds){ - this.northeastLng = baiduBounds.xl.lng;//��������������������������� - this.northeastLat = baiduBounds.xl.lat;//��������������������������� - this.southwestLng = baiduBounds.Ol.lng;//��������������������������������� - this.southwestLat = baiduBounds.Ol.lat;//��������������������������������� + this.northeastLng = baiduBounds.getNorthEast().lng;//��������������������������� + this.northeastLat = baiduBounds.getNorthEast().lat;//��������������������������� + this.southwestLng = baiduBounds.getSouthWest().lng;//��������������������������������� + this.southwestLat = baiduBounds.getSouthWest().lat;//��������������������������������� }else{ this.northeastLng = null;//��������������������������� this.northeastLat = null;//��������������������������� -- Gitblit v1.8.0