收藏
回答

关于wx.getLocation 在国外使用的问题?

wx.getLocation 在国外部分国家不能定位,如荷兰。

回答关注问题邀请回答
收藏

2 个回答

  • 神经蛙
    神经蛙
    2025-09-22

    wx.getLocation({

    type: 'gcj02', //返回可以用于uni.openLocation的经纬度

    success: res => {

    this.latitude = res.latitude;

    this.longitude = res.longitude;

    }

    });

    2025-09-22
    有用
    回复
  • 智能回答 智能回答 本次回答由AI生成
    2025-09-22
    有用
登录 后发表内容