cordova - 离子 3 本地地理编码器。找不到“thoroughfare”、“subThoroughfare”
问题描述
我的代码
reverseGeoCoding(lat, lng) {
this.nativeGeocoder.reverseGeocode(lat, lng).then(resp => {
this.name = resp[0].thoroughfare + " ," + resp[0].locality + " ," + resp[0].subLocality + " ," + resp[0].administrativeArea + " ," + resp[0].countryName;
})
}
我的问题
我在thoroughfare
从响应的数据中检索时遇到问题。
解决方案
推荐阅读
- excel - VBA - 在excel中调整图片大小
- c# - System.IO 无法创建具有有效路径的文件?
- puppeteer - Puppeteer 第二个选项卡在作为 Docker 容器运行时抛出 chrome-error
- php - 从我看到它保存在数据库中的方式来看,通过 Ckeditor 的数据是否可以免受 XSS 攻击?
- c - 我的代码无处打印“(双引号)
- python - 修改其他属性的属性
- regex - 使用 REGEX 从 csv 文件中删除前两列
- python - 无法在python3中打开文件
- c# - 如何在 Google Cloud Build 中正确设置多个环境
- powershell-4.0 - 如何使用 Powershell 脚本单击网页中的复选框?