ZhuDongming
2019-11-12 fdc3b40f19e487604341c661eec471bf9ac45279
修复map-page地图不显示问题
1 files modified
8 ■■■■ changed files
src/main/webapp/js/moralmap.js 8 ●●●● patch | view | raw | blame | history
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;//东北角纬度,大一点