From d639bd654764827da64a0c23a88b10c9b1c2193c Mon Sep 17 00:00:00 2001
From: Sooraj Balakrishnan <kasaragodsooraj@gmail.com>
Date: Wed, 31 Aug 2011 10:36:04 +0530
Subject: [PATCH] Changed google maps api query url

---
 lib/geocoder/lookups/google.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/geocoder/lookups/google.rb b/lib/geocoder/lookups/google.rb
index 4d61dd6c..4b07dd57 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}://http://maps.google.com/maps/geo?" + hash_to_query(params)
     end
   end
 end
-- 
GitLab