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}

y***@imocq.com
- 发布:2025-08-19 17:25
- 更新:14 分钟前
- 阅读:16
1 个回复
DCloud_UNI_yuhe
地图厂商后台是否配置了地址解析相关配置的配额?