From baa11d154e41d24a790596899b329faaa19b24be Mon Sep 17 00:00:00 2001 From: ZhuDongming <773644075@qq.com> Date: Wed, 13 Nov 2019 09:31:40 +0800 Subject: [PATCH] update污染溯源 --- 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