设置zoom  当达到最大  点击获取当前经纬度 
根据计算 小于30添加  进行列表渲染

 cluster = new AMap.MarkerClusterer(map, markers, { gridSize: 80 })


  if (map.getZoom() == 18) {
          that.CompanyInfoList.forEach(item => {
            if (
              item.addressLongitude != '' &&
              item.addressLongitude != undefined &&
              item.addressLatitude != '' &&
              item.addressLatitude != undefined
            ) {
              let marker1 = [e.lnglat.lng, e.lnglat.lat]
              let marker2 = [item.addressLongitude, item.addressLatitude]
              let distance = AMap.GeometryUtil.distance(marker1, marker2)
              if (distance < 30) {
                that.popData.push(item)
              }
            }
          })
        }
      })


Lifelong learning lifelong benefit