From fdc3b40f19e487604341c661eec471bf9ac45279 Mon Sep 17 00:00:00 2001
From: ZhuDongming <zdm773644075@hotmail.com>
Date: Tue, 12 Nov 2019 20:37:36 +0800
Subject: [PATCH] 修复map-page地图不显示问题

---
 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