Content
summary Summary

Google is rolling out a new feature in the Gemini API called "Grounding with Google Maps." This update lets developers link their AI apps directly to current, structured location data from Google Maps.

Ad

With this integration, Gemini can automatically recognize location-based questions and pull details from over 250 million places, including addresses, hours, photos, and user ratings. The feature is now available to everyone.

Developers can access the feature through the Gemini API and activate it with tools like the Python SDK. The API also returns a context token that embeds an interactive Google Maps widget in the app, so users get a familiar interface with all the essential info.

Use cases: travel, real estate, logistics

According to Google, "Grounding with Google Maps" is meant to make location-based AI apps more useful and intuitive for travel, real estate, retail, and logistics. For example, a travel planner could generate a full daily itinerary for San Francisco, complete with estimated travel times, opening hours, and restaurant recommendations.

Ad
Ad

Real estate apps could suggest apartments near schools or playgrounds for families. Users can also check if the coffee shop at 1st and Main has outdoor seating, with data pulled straight from Google Maps. Developers can narrow search results to specific regions by entering latitude and longitude coordinates.

Combining Maps and Search for better results

For more complete answers, "Grounding with Google Maps" can be paired with "Grounding with Google Search". Maps provides structured data like addresses and ratings, while Search adds dynamic info such as event dates or the latest news.

Google offers this example: if you ask about "live music on Beale Street," Maps gives you the business hours, while Search supplies concert times. According to Google, internal tests show that combining both features leads to significantly better answers than using just one.

"Grounding with Google Maps" works with the latest Gemini models. Developers can choose from different models to balance cost and performance. Google's official documentation, the Google AI Studio with a demo app and remix option, and the Gemini API Cookbook all provide entry points for getting started.

Ad
Ad
Join our community
Join the DECODER community on Discord, Reddit or Twitter - we can't wait to meet you.
Support our independent, free-access reporting. Any contribution helps and secures our future. Support now:
Bank transfer
Summary
  • Google is adding Google Maps to the Gemini API, giving AI apps access to real-time information from over 250 million places, including photos, ratings, and opening hours.
  • The new "Grounding with Google Maps" tool detects geographic references in questions and supplies structured location data along with an interactive map widget that can be used via API or Python SDK.
  • Developers can combine this with "Grounding with Google Search" to deliver both structured and live information; Google says internal tests show better results for mixed queries.
Sources
Matthias is the co-founder and publisher of THE DECODER, exploring how AI is fundamentally changing the relationship between humans and computers.
Join our community
Join the DECODER community on Discord, Reddit or Twitter - we can't wait to meet you.