Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with getting country name #6

Open
gaudah opened this issue Apr 27, 2021 · 1 comment
Open

Issue with getting country name #6

gaudah opened this issue Apr 27, 2021 · 1 comment

Comments

@gaudah
Copy link

gaudah commented Apr 27, 2021

Hello,

I am getting a null result for the below coordinates:
"longitude": 72.8205292,"latitude": 18.9690247

These coordinates are for the India location but getting null.
var crg = require('country-reverse-geocoding').country_reverse_geocoding();
var country = crg.get_country(18.9690247, 72.8205292);
console.log(country.name);

@OlivierChirouze
Copy link

Same for var country = crg.get_country(43.079802, 5.805873);
which is a valid position in France.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants