Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7384

[Gmap and Co] Google API needs key

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.7.4, 3.8.1, 4.0M7
    • 3.8, 4.0M6
    • None
    • None

      Currently, we don't set the key of google API in the URL we call to have google map.
      And, obviously, the key becomes mandatory.

      We have this information in the site configuration so we can easily add it when this parameter is informed.

      For exemple, the url becomes :
      __GOOGLE_MAPS_URL = '//maps.googleapis.com/maps/api/js?key=GoogleMapKEY&sensor=false';

      To generate the key, just go to the following link:
      https://developers.google.com/maps/documentation/javascript/get-api-key?hl=fr

      And activate google module (Gmap for exemple) for this key.

        1. CMS_google_api_key.patch
          8 kB
          Quentin Glinel-Mortreuil
        2. MAPS_google_api_key.patch
          2 kB
          Quentin Glinel-Mortreuil
        3. WEB_google_api_key.patch
          2 kB
          Quentin Glinel-Mortreuil

            quentin Quentin Glinel-Mortreuil (Inactive)
            lbouchet Loïc Bouchet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: