diff --git a/lib/geocoder/lookups/google.rb b/lib/geocoder/lookups/google.rb index 4d61dd6c5090747e4c9e9ab5dd82b5dcc604157f..9d0395503b2904654dcb69667742d43c61b944b7 100644 --- a/lib/geocoder/lookups/google.rb +++ b/lib/geocoder/lookups/google.rb @@ -31,7 +31,7 @@ module Geocoder::Lookup :language => Geocoder::Configuration.language, :key => Geocoder::Configuration.api_key } - "#{protocol}://maps.google.com/maps/api/geocode/json?" + hash_to_query(params) + "#{protocol}://maps.googleapis.com/maps/api/geocode/json?" + hash_to_query(params) end end end