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.
- Bloque
-
MAPS-40 The focus of the map is not concentred on the points of interest but in the sea where there is nothing
- Closed
- Est référencé par
-
CMS-7429 If a Google API key is not defined, warn the user that geocode widget could not worked correctly
- Closed
- Référence
-
RUNTIME-2987 JS error when opening the geocode widget
- Closed