2.0 Instructions for creating an account in the Google map service
Google Maps is one of the most popular and customer-friendly mapping services. Now there is an opportunity to connect it to your project to use Google cartography when building delivery routes, as well as to accurately find customer addresses.
Our platform also works with the Here map service, which is free to use. But many customers are used to using Google to find addresses and route, so it is considered more relevant and in demand. In addition, the Here service does not make changes to its cartography starting from February 2022, due to which there may be inaccuracies in recognizing addresses in orders or laying an unsuccessful route for the courier.
To create an account in the Google mapping service, first of all, you need to create a new project in Google Cloud.
- Go to the Google Cloud Console to create a new account.
- Fill in the information about the project, click Create and proceed to the following points.
- Fill in the payment information for your account. This is necessary to enable Google products. Go to Toolbar and select Billing section or go to link
Enable Google Maps API
Used to display the map on android, ios, web platforms.
- Go to link
- Make sure your current project is selected and click Enabled.
- If you do not have a payment account, Google will offer to create a new one.
Enable distance API
It was used to calculate route distance for orders.
- Go to link
- Make sure your current project is selected and click Enabled.
- Go to link and click Enabled to activate the Distance Matrix api .
Enable geocoding API
Used to determine coordinates by address or determine address by coordinates.
- Go to link
- Make sure your current project is selected and click Enabled.
Enable autocomplete API
It is used to autocomplete the address when the user enters the address.
- Go to link
- Make sure your current project is selected and click Enabled.
Getting the API key
- Go to Toolbar => APIs & Services => Credentials.
- Click Create Credentials. Select "API key" (API key) and wait.
- After successful creation, you can copy the received key or another key and add it to your project in Dots.
To do this, go to the Control Panel => section Settings => tab Integrations => next to the settings section Google Maps click the edit icon => Insert the key in all the relevant fields and click Save.
- Then you need to go to the tab Control Panels => section Settings => tab Maps and inin the fields Geocoding, Calculation of the distance of the route select the provider Google, also check the checkbox in the field Autocomplete and in the field Autocomplete provider also set Google.
- If the key has no API usage restrictions, you can use it to configure all functions. Click on the key itself and at the bottom you will see the key usage settings.
To check all enabled services, go to the info ** Google Cloud dashboard => Enabled APIs & Services **.
Link to this article: here
Updated on: 03/06/2024
Thank you!