首页 > 解决方案 > 离子 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从响应的数据中检索时遇到问题。

标签: cordovaionic-frameworkgeolocationionic3ionic-native

解决方案


推荐阅读