2019年12月26日
一.获得位置
wx.getLocation(object)



二.选择位置
wx.chooseLocation(object)



点击确定会打印所有信息

三.打开位置 (使用微信内置地图查看位置)
wx.openLoaction(object)


四.地图组件控制

1.getCenterLocation() 获取当前地图中心
2.moveToLocation() 将地图中心移动到当前为位置

2019年12月26日
一.获得位置
wx.getLocation(object)
二.选择位置
wx.chooseLocation(object)
点击确定会打印所有信息
三.打开位置 (使用微信内置地图查看位置)
wx.openLoaction(object)
四.地图组件控制
1.getCenterLocation() 获取当前地图中心
2.moveToLocation() 将地图中心移动到当前为位置
本文标题:地图位置信息API
本文链接:https://www.haomeiwen.com/subject/eeiyoctx.html
网友评论