Ticket #13462: gmaps_version.diff

File gmaps_version.diff, 603 bytes (added by nbv4, 14 years ago)
  • contrib/gis/maps/google/gmap.py

     
    3939        # Getting the Google Maps API version, defaults to using the latest ("2.x"),
    4040        # this is not necessarily the most stable.
    4141        if not version:
    42             self.version = getattr(settings, 'GOOGLE_MAPS_API_VERSION', '2.x')
     42            self.version = getattr(settings, 'GOOGLE_MAPS_API_VERSION', '2')
    4343        else:
    4444            self.version = version
    4545
Back to Top