지도 위에 클릭 이벤트를 추가할 때 오버레이가 있으면 바인드 이벤트가 트리거되지 않습니다. 이번에는 오버레이를 관통하여 맵 이벤트를 트리거할 수 있는 버블 속성을 사용해야 하므로 오버레이를 만들 때 bubble: true, //bubble 속성을 추가하기만 하면 됩니다.
mouseToolEdit = new AMap.Polygon({
path:
openType.value !== "add"
? eval("[" + queryParams.value.pointLocation + "]")
: [],
strokeColor: lineColor.value,
strokeWeight: 6,
strokeOpacity: 1,
fillOpacity: 0.4,
fillColor: fullColor.value,
strokeStyle: "solid",
bubble: true,
});





