为什么地图调用返回初始位置无效?
MapContext.moveToLocation(Object object)
wxml:
<cover-view id ='coverimg' class="flex-item">
<cover-image src='../../images/return.png' bindtap='clickControl'></cover-image>
</cover-view>
js:
clickControl:function(){
this.mapCtx = wx.createMapContext('coverimg')
this.mapCtx.moveToLocation()
},
调用MapContext.moveToLocation(),点击图片无法跳转到初始位置