[jira] [Commented] (OFBIZ-12247) Allow to pass a Google API key for geolocation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-12247) Allow to pass a Google API key for geolocation

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-12247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17353929#comment-17353929 ]

Daniel Watford commented on OFBIZ-12247:
----------------------------------------

Hi [~jleroux] - retested in trunk and passed. Thanks

> Allow to pass a Google API key for geolocation
> ----------------------------------------------
>
>                 Key: OFBIZ-12247
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12247
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework/common, themes
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: 18.12.01
>
>
> This is related to this question from Daniel at [https://github.com/apache/ofbiz-framework/pull/220]
> {quote}
> 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?
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)