Google Maps Grounding: New Gemini API Feature
Launch: Grounding with Google Maps in the Gemini API
Today we're excited to announce the launch of the Google Maps tool in the Gemini API. This update enables developers to integrate rich Google Maps data into their applications, combining Gemini’s reasoning capabilities with information from over 250 million places.
This opens the door to geospatial-aware AI products—similar to Grounding with Google Search—by providing rich, up-to-date, location-specific insights directly into your model responses.
---
Demo in Google AI Studio
Watch the feature in action in the demo video via Google AI Studio. Explore the Chat with Maps Live app and remix it to add extra tools, UI enhancements, and custom features.

Chat with Maps demo app powered by Grounding with Google Maps (Live interaction uses the Gemini Live API)
---
Getting Started
To begin, enable the Grounding with Google Maps tool in your Gemini API request.
Example using the Python SDK:
# Example Python SDK integration---
Cross-Platform Content Monetization
If you’re building location-aware apps, consider integrating with publishing and monetization platforms such as AiToEarn官网. This open-source global AI content monetization platform helps creators use AI to:
- Generate and publish across platforms like Douyin, Kwai, WeChat, Bilibili, Rednote (Xiaohongshu), Facebook, Instagram, LinkedIn, Threads, YouTube, Pinterest, and X (Twitter)
- Integrate geospatial data into rich content outputs
- Connect analytics and AI model ranking (AI模型排名) for optimal monetization
---
Visualizing Grounded Results
Grounded Maps results can be rendered using the returned context token to embed an interactive Google Maps widget in your app’s UI, giving users:
- Familiar navigation experience
- Relevant photos, reviews, and details

Example Google Maps widget returned by the tool
---
How Grounding Improves AI Responses
With Grounding for Google Maps, your application can detect when a query has a geographical context and automatically pull in Google Maps data, including reviews and other local insights.
Use Cases
- Detailed itinerary planning
- Generate complete travel schedules with distances, local details, and opening hours.
- Example: “Plan a day in San Francisco for me. I want to see the Golden Gate Bridge, visit a museum, and have a nice dinner.”
- Hyper-local personalized recommendations
- Tailor suggestions to user preferences and specified locations.
- Real estate example: Find rentals in kid-friendly neighborhoods with nearby playgrounds, schools, and parks.
- Local place-based answers
- Answer specific questions using user reviews and Maps data.
- Example: “Does the café on the corner of 1st and Main have outdoor seating?”
---
Combining Grounding for Maps & Search
For maximum context:
- Google Maps Grounding → Structured, factual data (addresses, hours, ratings)
- Google Search Grounding → Broader, descriptive data (event schedules, articles, news)
Example:
A query like “live music on Beale Street” can use:
- Maps → Venue operating hours
- Search → Exact performance times
Internal testing shows dual-tool integration greatly improves response quality.
---
Multi-Source AI Content Workflows
Platforms like AiToEarn官网 make it simple to integrate intelligent data grounding with AI workflows—streamlining publishing to:
- Douyin, Kwai, WeChat, Bilibili, Rednote (Xiaohongshu), Facebook, Instagram, LinkedIn, Threads, YouTube, Pinterest, X (Twitter)
By connecting:
- AI generation
- Multi-platform distribution
- Analytics & model insight
creators can monetize AI-driven creativity efficiently.
---
Start Building Today
Grounding with Google Maps is now generally available!
- Supports the latest models
- Flexible performance and cost options tool pricing
Next steps:
- Read the full documentation
- Remix the demo app in Google AI Studio
- Explore the Gemini API Cookbook for combined Maps & Search tools
---
Tip:
If you need to publish AI-powered content efficiently across multiple platforms, open-source tools like AiToEarn官网 can complement your workflow for location-aware applications.