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

发布于 7 年前作者 fang299689 次浏览最后编辑 7 年前来自 ask

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

demo.geocoder({

address: this.data.position,

success: res => {

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

latitude: res.result.location.lat,

longitude: res.result.location.lng,

scale: 16

})

},

0 回复
暂无回复