Google Maps
Rutevejledning og offentlig transporttidsplaner verden over.
Overblik
Rutevejledning og offentlig transportplaner verden over via Google Maps Platform.
Forudsætninger
- En stackgate.ai-konto
Credentials
- Gå til Mine integrationer → Google Maps.
- Klik Aktivér — stackgate.ai bruger platformens Google Maps API-credentials.
Ingen personlig Google Cloud API-nøgle kræves til standardbrug.
Brug med AI-klienter
- Dedikeret endpoint:
POST /mcp/google-maps - Private gateway:
google-maps__*-værktøjer
Se Dokumentation for HTTP-autentificering og opsætning af private gateway.
Fejlfinding
- ZERO_RESULTS — verificér at adresser eller place IDs er gyldige og kan routes til.
- Transit unavailable — ikke alle regioner understøtter offentlig transport i API'et.
Tilgængelige værktøjer
-
geocode_address
Geocode a street address or place name to coordinates using Google Geocoding API.
-
get_directions
Get driving, walking, cycling, or two-wheel directions between two locations.
-
get_transit_route
Get public transit directions with departure/arrival schedules, lines, stops, and transfers.
-
reverse_geocode
Reverse geocode coordinates to a human-readable address.
-
compute_route_matrix
Compute travel times and distances between many origins and destinations.
MCP-endpoint:
https://stackgate.ai/mcp/google-maps
(HTTP) eller via
private gateway.