Geolocation: prerequisites

 

Technical prerequisites

 

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.

Note

For each provider, please refer to the following links below find out the maximum number of requests:

Functional pre-requisites

 

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.

 

Creating a key for Google Maps

 

In order to use the Google Maps API you must create a “key”. To do that, you must have a Google account.

Important

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.

google_geoloc_projet

Create a new project by clicking on this button _bouton_nouveau_projet. 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.

google_geoloc_projet

Once you have chosen your project, create an create an API key by clicking on “Access the API overview“:

google_geoloc_api

Click on Credentials to create an ID. This ID is essential to access APIs.

Now click on Create credentials > API key.

google_geoloc_api_key

Important

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:

  • Maps JavaScript API,
  • Geocoding API,
  • Distance Matrix API,
  • Directions API.

To do this go to the following interface:

google_api_bibliotheque

Find the APIs above (using the search area to help you), click on each API and enable it:

google_api_maps

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.

geoloc_herewego

Once you have created your account, a project will be automatically created and you will be redirected to the project page.

geoloc_hewego_start

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.

geoloc_herewego_apikeys

Important

Copy both keys and keep them at hand for next steps.

Print Friendly, PDF & Email
1 Etoile2 Etoiles3 Etoiles4 Etoiles5 Etoiles (3 votes, average : 5.00 on 5)
Loading...
Consulting training

Need training?

Use our consulting services!