安卓机貌似不支持map组件里的*touchStart/Move/End事件!
发布于 6 年前 作者 ming55 10469 次浏览 来自 问答

在map组件里无论是catchtouchstrat/move/end事件还是bindstart/move/end事件再安卓的真机测试里都不支持!苹果机尚未测试

<map id=“slkMap” bindtouchmove=“showScale”  bindmarkertap=“showPoiInfo” bindtap=“cleanTips” bindcontroltap=“controlOperation” show-location>

  showScale: function (e) {

    console.log(e)

  },

在安卓机的测试里无论怎么移动地图,都不会触发bindtouchmove这个方法,当然标题里说列出的方法也不被触发!模拟器正常执行方法

回到顶部