Google Maps Platform is Google's set of location services for geocoding addresses, searching and describing places, and calculating routes. The UnifyApps Google Maps connector uses the Places API (New), Routes API and Geocoding API to search for places, get place details and photos, convert between addresses and coordinates, and compute multi-stop routes from workflows.
This guide covers every authentication type available on the connection form, and the actions supported, along with the Google Maps Platform API each one needs.
Authentication
Before you begin, you should have the following information:
Connection name: a descriptive name such as MyAppGoogleMapsIntegration, so the connection is easy to identify later.
Authentication type: Google Maps connects only with an API key, so the form has no authentication type to select:
API Key
1. API Key
Use this to connect with a Google Maps Platform API key from your Google Cloud project. Google Maps Platform does not use OAuth scopes: the key works for every API that is enabled in its project and allowed by its API restrictions.
Step 1: Create an API key in Google Cloud
In the Google Cloud Console, select or create a project, and make sure a billing account is linked to it. Google Maps Platform requires billing.
Go to APIs & Services → Library and enable the APIs for the actions you plan to use: Places API (New), Routes API and Geocoding API.
Go to Google Maps Platform → Credentials, click Create credentials → API key, and copy the key that is shown.
Optionally, open the key and, under API restrictions, choose Restrict key and select only the three APIs above, then click Save. Google recommends restricting every API key.
Step 2: Connection setup in UnifyApps
Open Connections → New Connection → Google Maps and enter a Connection name.
Paste the key into the API key field.
Click Test Connection to validate the key, then click Create.
Actions
Each action calls one Google Maps Platform API. That API must be enabled in the key's project and, if the key has API restrictions, allowed by them.
Actions | Description | API to enable |
|---|---|---|
| Computes an optimized driving route from an origin to a destination through multiple intermediate stops, using real-time traffic and the departure time. | Routes API |
| Gets autocomplete predictions for place searches in Google Maps. | Places API (New) |
| Gets the latitude and longitude of an address in Google Maps. | Geocoding API |
| Gets photo media for a place using its photo reference in Google Maps. | Places API (New) |
| Gets detailed information about a place using its place ID. | Places API (New) |
| Returns the address for the given latitude and longitude in Google Maps. | Geocoding API |
| Searches for places using a text query in Google Maps. | Places API (New) |
| Searches for places within a given area, with extra filtering and routing options, in Google Maps. | Places API (New) |