This commit is contained in:
姚宇浩 2024-08-23 17:22:30 +08:00
parent 23bc607c07
commit 7705d6bdbf
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);
});
};
//----------------------
//