Open tacticiankerala opened 10 years ago
I have tried the following example given in reverse geocode section,
res=Geokit::Geocoders::GoogleGeocoder.reverse_geocode "37.791821,-122.394679" => #<Geokit::GeoLoc:0x558ed0 ... res.full_address "101-115 Main St, San Francisco, CA 94105, USA"
But I am getting the following result,
Provider: Street: City: State: Zip: Latitude: Longitude: Country: Success: false
What could be wrong?
Found out the solution, instead of Geokit::Geocoders::GoogleGeocoder.reverse_geocode use the following
Geokit::Geocoders::GoogleGeocoder.reverse_geocode
res=Geokit::Geocoders::GoogleGeocoder3.reverse_geocode "37.791821,-122.394679" res.full_address
I have tried the following example given in reverse geocode section,
But I am getting the following result,
What could be wrong?