Code

Ticket #13462: gmaps_version.diff

File gmaps_version.diff, 603 bytes (added by nbv4, 4 years ago)
Line 
1Index: contrib/gis/maps/google/gmap.py
2===================================================================
3--- contrib/gis/maps/google/gmap.py     (revision 13068)
4+++ contrib/gis/maps/google/gmap.py     (working copy)
5@@ -39,7 +39,7 @@
6         # Getting the Google Maps API version, defaults to using the latest ("2.x"),
7         # this is not necessarily the most stable.
8         if not version:
9-            self.version = getattr(settings, 'GOOGLE_MAPS_API_VERSION', '2.x')
10+            self.version = getattr(settings, 'GOOGLE_MAPS_API_VERSION', '2')
11         else:
12             self.version = version
13