It's a long time I have not worked with Google Maps.
Currently in hemes/common-theme/template/includes/GeoLocation.ftl, we simply
set the API key with
<script src="https://maps.googleapis.com/maps/api/js?key=${googleApiKey}"
type="application/javascript"></script>
It seems that for using the places library we need more parameters.
Please try by adding &libraries=places&callback=initMap
Have a look at
https://developers.google.com/maps/documentation/javascript/places?hl=en#loading_the_library
... And the rest...
HTH
Le 26/10/2023 à 13:10, Riyaz Ahmed Shaikh a écrit :
Hi,
Please find the Google driver link to screenshots.
Screenshot#1:
https://drive.google.com/file/d/1tS-HJ_pn2IUsP4Z56O3U_gcoUHwTIvBR/view?usp=drive_link
Screenshot#2:
https://drive.google.com/file/d/1OwApJIcgrrRs36WmobULyCts8GD9m90l/view?usp=drive_link
Regards,
Riyaz
On Thu, Oct 26, 2023 at 3:50 PM Jacques Le Roux <
[email protected]> wrote:
Hi Riyaz,
This ML does not allow attached images. Please provide a link.
TIA
Jacques
Le 26/10/2023 à 11:48, Riyaz Ahmed Shaikh a écrit :
Hi,
We are trying to setup the Ofbiz ERP for our internal initiative. We are
using source code from trunk.
We have a requirement to store party addresses using Google Geolocation.
To achieve that, I have added google place api key to *googleApiKey
*property in *general.properties* file.**
*
*
Even after adding this property, Google Maps is complaining about
missing API key.
Please find the attached screenshots for your reference.
Your support is highly appreciated.
Regards,
Riyaz