From 1b0d23b5f004550ce34dd0c2f05cb92d9c3815d1 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Wed, 09 Dec 2020 09:30:58 +0800 Subject: [PATCH] 加一个懒加载 --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/assets/libs/baidu-map/MarkerClusterer.js | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/assets/libs/baidu-map/MarkerClusterer.js b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/assets/libs/baidu-map/MarkerClusterer.js index b7bbd35..7d9d330 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/assets/libs/baidu-map/MarkerClusterer.js +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/assets/libs/baidu-map/MarkerClusterer.js @@ -593,8 +593,6 @@ var center = this._center; this._clusterMarker.addEventListener("click", function(event){ //这个方法容易造成晃动 - //thatMap.setViewport(thatBounds); - //console.log(center); var zoom = thatMap.getZoom(); zoom = zoom > 14 ? zoom : 14; thatMap.setZoom(zoom); -- Gitblit v1.8.0