Some of these functionalities require Internet access:
Calculation of GPS coordinates,
Display of positions,
Display of routes,
Calculation of distances.
The GEOLOCATION module can be used with Google Maps or HereWeGo.
In order to use either of those properties, you must obtain an API key.
For each provider, please refer to the following links below find out the maximum number of requests:
- Google Maps: https://cloud.google.com/maps-platform/pricing/sheet/ ;
- Here We Go: https://developer.here.com/plans.
The GEOLOCATION module requires:
- The existence of at least two Geolocation headings in one or more dimensions,
- and possibly the presence of at least one Distance type heading in a form.
You may be asked to enter billing information.
Once you have a Google account, log into the following address: https://console.developers.google.com/home.
Enter your Google credentials, then click on Select a project to display the following window.
Create a new project by clicking on this button . Now enter the name of your project in the window displayed. Click Create to create the project.
To go to your new project, click on the link displayed in the previous project selection window.
Once you have chosen your project, create an create an API key by clicking on “Access the API overview“:
Click on Credentials to create an ID. This ID is essential to access APIs.
Now click on Create credentials > API key.
Copy the key and paste it for the next steps.
Once the key is generated, go back to the “Dashboard” or “Library” menu to enable the following APIs:
- Geocoding API,
- Distance Matrix API,
- Directions API.
To do this go to the following interface:
Find the APIs above (using the search area to help you), click on each API and enable it:
Creating a key for HereWeGo
To create an account, go to the following page: https://developer.here.com/.
Click on the Get Started for Free button.
The following window is displayed in which you can register a new account and choose the FREEMIUM option.
Once you have created your account, a project will be automatically created and you will be redirected to the project page.
Once you reach the previous window, click on the Generate App then on the Create API key button in the REST section in order to generate the keys.
Copy both keys and keep them at hand for next steps.