微信小程序API—获取定位的详解

shihaidong26729 16 0 PDF 2020-11-29 13:11:55

在微信小程序中,我们可以很方便的通过API接口来获取我们当前的位置,接下来我讲告诉大家微信获取定位的API—wx.getLocation的用法,以及我们通过获取定位,得到当地的位置,天气等信息。 {{weather.temperature.data}}°C {{weather.weather.data}} {{weather.winddirection.d

用户评论
请输入评论内容
评分:
暂无评论