This repository was archived by the owner on Sep 4, 2021. It is now read-only.
This repository was archived by the owner on Sep 4, 2021. It is now read-only.
undefined is not an object (evaluating 'RNGeocoder.geocodePosition') #63
Open
Description
Im getting this message, when trying to do reverse geocoding on rn using this package.
The code is as follows:
import Geocoder from 'react-native-geocoder';
locationPos = {
lat: positionToInsert.latitude,
lng: positionToInsert.longitude
}
Geocoder.geocodePosition(locationPos).then(res => {
this.setState({locPos: res[0].formattedAddress})
})
.catch(err => console.log(err))
Metadata
Metadata
Assignees
Labels
No labels