Open pavelsimo opened 5 years ago
@pavelsimo There is an issue with locations near the border. Since the library is based on the GeoNames database, it finds a city that's closest in terms of Euclidean distance. In order to circumvent this, I've added support for custom data sources and have blogged about it here: http://ajaythampi.com/blog/2016/9/16/reverse-geocoding-custom-data-sources. Hope this helps.
Consider the following coordinate:
46.601255, 10.422899
https://goo.gl/maps/jEzFrvcGmMQ2The "reverse-geocoder" library report this coordinates is located in Italy (IT) when the actual location is Switzerland (CH).