This commit is contained in:
duanxiaohai 2024-08-23 17:22:54 +08:00
commit aa6f9dc456
1 changed files with 3 additions and 0 deletions

View File

@ -2123,6 +2123,9 @@ const createZyys = (polygon, indexx, name) => {
}
);
map.addOverlay(yaosuIcon.value[name].sj[indexx].overlay);
yaosuIcon.value[name].sj[indexx].overlay.addEventListener("click", () => {
console.log(polygon);
});
};
//----------------------
//