简体   繁体   中英

geokit rails 2.3.9

I've a hostmonster account, where I installed geokit as a gem. When I try to find location based on IP, i get "Unknow City" for the city field. This happens on my local machine as well, where it shows "Private Address" for city.

Please help me solve this.

Replaced IpGeocoder in my code with MultiGeocoder and it worked. Tried different geocoder providers (Yahoo, Gooogle) but MultiGeocoder seems to be the most accurate.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM