Ticket #13462: gmaps_version.diff
File gmaps_version.diff, 603 bytes (added by , 15 years ago) |
---|
-
contrib/gis/maps/google/gmap.py
39 39 # Getting the Google Maps API version, defaults to using the latest ("2.x"), 40 40 # this is not necessarily the most stable. 41 41 if not version: 42 self.version = getattr(settings, 'GOOGLE_MAPS_API_VERSION', '2 .x')42 self.version = getattr(settings, 'GOOGLE_MAPS_API_VERSION', '2') 43 43 else: 44 44 self.version = version 45 45