bindlabeltap不触发, 地图上添加 makers、
< map
id = "myMap"
style = "width: 100%; height: 300px;"
latitude = "{{latitude}}"
longitude = "{{longitude}}"
markers = "{{markers}}"
covers = "{{covers}}"
bindlabeltap = "labeltap"
bindmarkertap = "markertap"
show-location
></ map >
|
data :{
latitude: 23.099994,
longitude: 113.324520,
markers: [{
id: 1,
latitude: 23.099994,
longitude: 113.324520,
zIndex:1000,
label: {
content: 'T.I.T 创意园' ,
}
}],
covers: [{
latitude: 23.099994,
longitude: 113.344520,
iconPath: '/image/location.png'
}, {
latitude: 23.099994,
longitude: 113.304520,
iconPath: '/image/location.png'
}]}
|
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
另外,请扫描下图贴一下截图
https://developers.weixin.qq.com/community/develop/doc/0000ccfe5dc0683c0e790f8e75b800