Hi guys,
I want to return this.reverseGeo to the function calling it
reverseGeocodeView(lat, lng) {
this.nativeGeocoder.reverseGeocode(lat, lng)
.then((result: NativeGeocoderReverseResult) =>
this.reverseGeo = result[0].thoroughfare + ', ' + result[0].locality + ', ' + result[0].countryName + ', ' + result[0].subLocality
)
.catch((error: any) => console.log(error));
}