|
@@ -225,6 +225,10 @@ async function onSearch() {
|
|
|
const marker = new T.Marker(point, {
|
|
|
icon: icon_red
|
|
|
}); // 创建标注
|
|
|
+ marker.addEventListener('click', () => {
|
|
|
+ checkSiteUser(siteUser);
|
|
|
+
|
|
|
+ });
|
|
|
(map as any).addOverLay(marker);// 将标注添加到地图中
|
|
|
markerList.value.push(marker);
|
|
|
}
|