]> git.street.me.uk Git - andy/viking.git/commitdiff
Google maps no longer worked due to changes by Google. Problems now fixed.
authorQuy Tonthat <qtonthat@gmail.com>
Tue, 22 Jul 2008 14:21:44 +0000 (14:21 +0000)
committerQuy Tonthat <qtonthat@gmail.com>
Tue, 22 Jul 2008 14:21:44 +0000 (14:21 +0000)
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Conflicts:

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
ChangeLog
src/google.c

index 34164feb213ebf5b1309de21bde0e55ac01629d5..119ed06f86ceaaa85633172bf19f23a221321e53 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-22
+Quy Tonthat <qtonthat@gmail.com>:
+       * Google maps no longer worked due to changes made by Google.
+         The Problems now fixed.
+
 2008-07-21:
 Guilhem Bonnefille <guilhem.bonnefille@gmail.com>:
        * Release Viking 0.9.5
index c56b7d9b0cf70dadd6c9949d79295d6a970bf0e6..bb5d3701d36a6b61f0c31b146ae099b028fdf2de 100644 (file)
@@ -117,8 +117,8 @@ static const gchar *google_version_number(MapCoord *mapcoord, GoogleType google_
   gsize len;
   gchar *gvers, *tvers, *kvers, *terrvers, *tmpvers;
   static DownloadOptions dl_options = { "http://maps.google.com/", 0, a_check_map_file };
-  static const char *gvers_pat = "http://mt0.google.com/mt?n\\x3d404\\x26v\\x3d";
-  static const char *kvers_pat = "http://khm0.google.com/kh?n\\x3d404\\x26v\\x3d";
+  static const char *gvers_pat = "http://mt0.google.com/mt?v\\x3d";
+  static const char *kvers_pat = "http://khm0.google.com/kh?v\\x3d";
 
   g_assert(google_type < TYPE_GOOGLE_NUM);