Line 28: |
Line 28: |
| | | |
| - Having module curl extension enabled into your PHP. To check this, go into module Home - Setup - PHP infos and make a search into page of "curl". If you don't find, curl module is not installed. | | - Having module curl extension enabled into your PHP. To check this, go into module Home - Setup - PHP infos and make a search into page of "curl". If you don't find, curl module is not installed. |
| + | |
| + | - To use the Maps and geocoding service, you must enable the billing on your Google account. Price is 0.005 € per address. |
| |note= | | |note= |
| }} | | }} |
Line 199: |
Line 201: |
| ==Setup of GMaps features== | | ==Setup of GMaps features== |
| | | |
− | 1) You must first enable the API for your Google account. For this go on page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & Authentication" -> "Enable API". Click to enable API for "Google Maps Geocoding API" and "Google Maps JavaScript API". | + | 1) You must first enable the API for your Google account. For this go on page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & Service" -> "Enable API & Services". Click to enable API for "Google Maps Geocoding API" and "Google Maps JavaScript API". |
| + | |
| + | 2) Create an API key of type "Server". You must check that the value for |
| + | '''Restrictions relative to applications''' is on '''None''' |
| + | '''Restrictions relative to API''' is on '''No restriction''' or, for a more secured usage, set to Restricted to the 2 APIs '''GeoCoding API''' and '''Maps Javascript API'''. |
| + | Then save the API key on the setup page of module Google in Dolibarr, tab GMaps. |
| | | |
− | 2) Create an API key of type "Server" and enter it on the setup page of module Google in Dolibarr, tab GMaps.
| + | 3) You must enable the "billing" of APIs on your Google account (price is 0.005 € per geo-encoded address) |
| | | |
| ===Link to localize a specific address=== | | ===Link to localize a specific address=== |