markertap在手机上面无响应,开发工具有响应,几个手机都试了,没响应
https://developers.weixin.qq.com/s/IWn0izm97hna
上面是代码片段分享链接
<map
id="myMap"
style="width: 100%; height: 100%;position: fixed;top: 0;left: 0;"
latitude="27.2213"
longitude="111.43888"
scale="6" bindcontroltap="controltap" markers="{{markers}}" bindmarkertap="markertap" bindregionchange="regionchange" show-location
></map>
const app = getApp()
Page({
data: {
markers: [{"id":2,"clusterId":2,"title":"测试地","latitude":"27.916539113640834","longitude":"112.54059791564941","width":"30px","height":"40px","rotate":0,"alpha":1,"zIndex":100,"callout":null}]
},
onLoad() {
console.log('https://mp.weixin.qq.com/debug/wxadoc/dev/devtools/devtools.html')
},
controltap:function(){},
regionchange:function(){},
markertap:function(e){
console.log('markertap', e);
}
})
等级已有四级,每月一次的机会已经给别人用掉了...
是真机调试和预览都没有响应