leaflet-div上禁止地图的拖动,放大缩小双击事件

1. 先把dom的div对象获取到,可用document.getEleementById(“divId”);nnnn //获取当前的this对象n const that = this;nn //获取要操作的div对象,可根据docoment.getElementById(“divId”);n const el = document.getElementById(“divId…