Module Google: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 175: Line 175:
1) You must first enable the API for your Google account. For this go on page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & Services" -> "Enabled API". Click to enable API for "GeoCoding -  Geocoding API" and "GeoCoding - Maps JavaScript API".
1) You must first enable the API for your Google account. For this go on page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & Services" -> "Enabled API". Click to enable API for "GeoCoding -  Geocoding API" and "GeoCoding - Maps JavaScript API".


2) Create an API key of type "Server" and enter it on the setup page of module Google in Dolibarr, tab GMaps.
2) Click on menu "Credentials - Create an API key" of type "API key", Choose Geocoding API and Maps Javascript API into the list of API restrictions. Do NOT check "Authenticate API calls through a service account". Do not enter any application srestriction (you may change this point in e second step once everything is ok). You will get an API key.
 
3) Copy paste this API key into the setup page of module Google in Dolibarr, on tab GMaps.


=== Link to localize a specific address ===
=== Link to localize a specific address ===

Navigation menu