Open brianhtruong opened 6 years ago
@brianhtruong Apologies for the delay in responding. The library is based on the GeoNames data and so finds the nearest city in terms of Euclidean distance. There may be issues for coordinates near the border due to that. To circumvent this issue, I've added support for custom data sources. You can find more details here: http://ajaythampi.com/blog/2016/9/16/reverse-geocoding-custom-data-sources. Hope this helps.
Compared to google's reverse geocoder. Rg.search and mode=1 return the same results. Is this API for approximating?