forked from kidgrow-microservices-platform

houruijun
2020-08-10 1c0ef3ceca7fa8ffbf5ff0dfd9dbf35334d74ae4
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);