From e1fb89c19e29447b108d3b959e222049a6b02e93 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期四, 29 四月 2021 17:52:35 +0800 Subject: [PATCH] fix bug --- src/conf/MapConfig.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/conf/MapConfig.js b/src/conf/MapConfig.js index 445e160..2343ab8 100644 --- a/src/conf/MapConfig.js +++ b/src/conf/MapConfig.js @@ -11,7 +11,6 @@ // service涓绘満閰嶇疆 // const APP_GIS_HOST = 'http://xearth.cn:6299' const APP_GIS_HOST = 'http://xearth.cn:8088' - // 鑷畾涔変富鏈洪厤缃� const BLUEMAP_HOST = APP_GIS_HOST // 鍏徃鍙戝竷鐨勫湴鍥炬湇鍔★紝鐢ㄤ簬娴嬭瘯鐨勫湴鍧� @@ -21,11 +20,12 @@ const mapOptions = { crs: L.CRS.EPSG4326, minZoom: 3, - maxZoom: 18, + maxZoom: 17, // center: [26, 104], - center: [38.828558921813965, 117.41676807403564], - // center: [29.454345703125, 113.40362548828125], + center: [34.828558921813965, 117.41676807403564], zoom: 5, + // center: [32.25853085517883, 118.78592848777771], + // zoom: 15, worldCopyJump: true, inertia: true, zoomControl: false, -- Gitblit v1.8.0