小程序地图iphone版本11.1.2标记点markers无法点击
发布于 5 年前 作者 gang10 11473 次浏览 来自 问答

2017年11月28日16:02:11当前iphone最新版里,小程序地图里的markers无法点击。安卓正常,低版本8.0正常。没有报错。

3 回复

你更新到最新版微信试试,6.5.23。之前有个版本响应区域有点偏移

你好,你的代码是怎样的呢?其他iPhone机器有问题吗?微信版本具体是多少

其他同样版本的iphone机器有问题,8.0的iphone没问题

微信版本6.5.18

wxml代码段:

  <map id=“map” longitude="{{longitude}}" latitude="{{latitude}}" markers="{{endMap.markers}}" polyline="{{endMap.polyline}}" controls="{{endMap.controls}}" include-points=’{{endMap.inPoint}}’ bindmarkertap=‘carDot2’ bindcontroltap=‘callItem2’ show-location></map>

js代码段:

carDot2: function (e) {

wx.showModal({

        title: ‘提示’,

        content: ‘点击成功’

    })

    var id = e.markerId

    this.updateDot(this, id, points, this.data.endMap.markers)

 }

在这个carDot2的函数里的提示有时候弹不出来,也就是这个点击没生效

回到顶部