y***@imocq.com
y***@imocq.com
  • 发布:2025-08-19 17:25
  • 更新:14 分钟前
  • 阅读:16

iOS端调用uni.getLocation

分类:uni-app

uni.getLocation({
type: 'gcj02',
geocode:false,
altitude: true
})
geocode设置为false能正常获取到经纬度
geocode设置为true就报错:{"errMsg":"getLocation:fail 坐标地址解析失败,https://ask.dcloud.net.cn/article/282","errCode":-1501,"code":-1501}

2025-08-19 17:25 负责人:无 分享
已邀请:
DCloud_UNI_yuhe

DCloud_UNI_yuhe

地图厂商后台是否配置了地址解析相关配置的配额?

要回复问题请先登录注册