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

Allow to pass a Google API key for geolocation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 18.12.01
    • Component/s: framework/common, themes
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: