摘要: 一、获取个人定位信息(使用map、markers组件) 先在app.json文件中加入如下代码 确认授权,然后在使用定位页面调用如下方法 wx.getLocation({ type: 'gcj02', success: (res)=> { let latitude = res.latitude le 阅读全文
posted @ 2020-06-08 10:11 空城不入是 阅读(669) 评论(0) 推荐(0)