Closed cedricdelpoux closed 2 years ago
Following the readme, I tried a simple:
geocoder.init({}, function () { var point = {latitude: 42.083333, longitude: 3.1} geocoder.lookUp(point, function (err, res) { console.log(JSON.stringify(res, null, 2)) }) } )
But get an error Cannot read properties of undefined (reading 'length').
Cannot read properties of undefined (reading 'length')
The errors occurs at this line.
Thanks for the report, fixed in https://github.com/tomayac/local-reverse-geocoder/commit/0e3e04ecf380134ede0bb80368d1ab32995d3ef0.
Following the readme, I tried a simple:
But get an error
Cannot read properties of undefined (reading 'length')
.The errors occurs at this line.