html52.com
我爱小程序-开发者交流社区

map callout设置BYCLICK 真机无效

问题模块 框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
API和组件 小程序 Bug map maker 客户端 6.6.2 2.3.0

callout:{

              content:that.wxMarkerData[j].title,

              color:'#fff',

              fontSize:12,

              borderRadius:4,

              bgColor:'#f55f66',

              padding:5,

              display:'BYCLICK',

              textAlign:'center'

            }

在map中添加bindmarkertap事件,点击对应的maker时,当前callout会显示,但是之前点击过的callout也会显示,开发者工具上操作正常

网友回复

晨:

麻烦给个相关的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),我们定位下问题

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付