0
Follow
1
View

polyline's click event

didiming1981 注册会员
2023-02-28 19:15
< div class = "md_content_show e397 data - v - 3967" = "" >

about the way I create the map?

img

diaorong55 注册会员
2023-02-28 19:15

// 在页面中声明map组件
"map" @line-tap="polylineTap">
// 在相应的js文件中定义polylineTap的函数
polylineTap(e) {
  console.log('您点击的polyline的经纬度是:', e.detail.latitude, e.detail.longitude)
}
.
< !- - - - - >
dongabc22 注册会员
2023-02-28 19:15
< div class = "md_content_show e397 data - v - 3967" = "" >

I can't, don't respond

img

img

About the Author

Question Info

Publish Time
2023-02-28 19:15
Update Time
2023-02-28 19:15