《Leaflet 基础知识点》 监听鼠标缩放获取地图级别 map.on('zoomend', (e) => { //获取当前放大或者缩小的等级 let scale = e.target.getZoom(); });