Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12247

Allow to pass a Google API key for geolocation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 18.12.01
    • framework/common, themes
    • None

    Description

      This is related to this question from Daniel at https://github.com/apache/ofbiz-framework/pull/220

      I couldn't figure out how to configure OFBiz with my Google API key so ended up temporarily patching themes/common-theme/template/includes/GeoLocation.ftl line 44 with my key. Line 44 looked similar to:<script src="https://maps.googleapis.com/maps/api/js?key=secret_google_api_key" type="application/javascript"></script>
      Is there a way to configure ofbiz with the API key?

      Attachments

        Activity

          People

            jleroux Jacques Le Roux
            jleroux Jacques Le Roux
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: