Overview
Google Maps provides location services including place search, geocoding, and directions. Once connected, you can use Langdock to find places, convert addresses to coordinates, and compute routes directly from your conversations.Authentication: API Key
Category: Location & Maps
Availability: All workspace plans
Prerequisites
- A Google Cloud project with billing enabled
- The following APIs enabled in your project:
- Places API
- Geocoding API
- Directions API
- Distance Matrix API
Setup
Enable the required APIs and create an API key
Follow Google’s guide to getting an API key to enable the required APIs (Places, Geocoding, Directions, Distance Matrix) and create a key in Google Cloud Console.
Restrict the API key (recommended)
In the API key settings, restrict it to the four APIs listed above to limit its scope.
Navigate to Integrations in Langdock
Go to Integrations and find Google Maps in the list.
Common Use Cases
Place Search
Find businesses, restaurants, or points of interest near a location using natural language
Geocoding
Convert street addresses to coordinates or coordinates back to readable addresses
Directions
Get routes between locations with support for driving, walking, cycling, and transit
Distance Matrix
Calculate travel time and distance between multiple origins and destinations
Troubleshooting
| Issue | Solution |
|---|---|
| API key invalid | Verify the key is correct and the required APIs are enabled in Google Cloud Console |
| Request denied | Check that billing is enabled on your Google Cloud project |
| API not enabled | Go to Google Cloud Console → APIs & Services → Library and enable the missing API |
| Quota exceeded | Review your usage limits in Google Cloud Console and increase if needed |