wx.openLocation 有时候不能缩放,有时候又可以 我没改代码
发布于 5 年前 作者 fang29 9590 次浏览 来自 问答

wx.openLocation 有时候不能缩放,有时候又可以 我没改代码

demo.geocoder({

address: this.data.position,

success: res => {

wx.openLocation({ //使用微信内置地图查看位置

latitude: res.result.location.lat,

longitude: res.result.location.lng,

scale: 16

})

},

回到顶部