功能展示:
在这里插入图片描述

js代码,功能实现:

  wx.getLocation({
          altitude: 'true',
        }).then(res=>{
            console.log(res);
            wx.openLocation({
              latitude: res.latitude,
              longitude: res.longitude,
            })
        })
    },
Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐