VentureBeat 10月18日 06:34
Gemini AI集成谷歌地图,赋能开发者打造精准位置服务
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

谷歌宣布为基于Gemini AI模型的第三方开发者推出一项创新功能——“谷歌地图集成”。该功能允许开发者将Gemini AI的推理能力与谷歌地图的实时地理空间数据相结合,从而构建能够提供详细、与位置相关的响应的应用。通过接入超过2.5亿个地点的数据,开发者可以创建更智能、更具响应性的位置感知体验,尤其适用于本地搜索、配送服务、房地产和旅行规划等场景。此功能通过Gemini API实现,并支持多种Gemini模型,开发者可利用此功能提升应用的准确性和用户体验。

🗺️ **Gemini AI与谷歌地图深度融合**:谷歌通过Gemini API推出了一项革命性功能,允许开发者将Gemini AI模型的推理能力与谷歌地图的实时地理空间数据进行绑定。这意味着AI应用能够理解并回应涉及具体地点的用户查询,例如提供商家的营业时间、用户评价或特定场所的氛围等,从而提供前所未有的精准度和上下文感知能力。

📍 **赋能位置感知型应用**:这项新功能极大地扩展了AI在位置相关领域的应用潜力。无论是本地搜索、配送服务、房地产信息展示还是旅行规划,开发者都能构建出更智能、更具响应性的应用。当用户位置已知时,通过将经纬度信息传递给API,可以进一步提升响应的质量和个性化程度,让用户获得更贴合实际需求的信息。

📊 **多模型支持与交互式组件**:该功能支持Gemini 2.5 Pro、Gemini 2.5 Flash、Gemini 2.5 Flash-Lite和Gemini 2.0 Flash等多种Gemini模型。此外,开发者还可以通过API获取一个上下文令牌,将谷歌地图的小部件嵌入到应用的UI中,提供包含照片、评价等谷歌地图经典内容的交互式视觉体验,实现文本与视觉信息的无缝结合。

💡 **跨行业用例与优化建议**:该工具可用于行程生成、个性化本地推荐(如房产列表靠近学校)、以及详细的位置查询(如咖啡馆是否提供户外座位)。谷歌建议开发者仅在查询涉及地理上下文时启用该工具,以优化性能和成本。同时,在价格方面,每1000次带地图信息查询的提示起价为25美元。

🔗 **整合搜索与地图,提升信息全面性**:开发者可以将“谷歌地图集成”与“谷歌搜索集成”在同一请求中使用。地图工具提供事实性数据(如地址、营业时间),而搜索工具则补充了来自网页内容的更广泛的上下文(如新闻或活动列表),从而提供更全面、更准确的响应,如结合查询比萨街的现场音乐信息,同时提供场馆详情和活动时间。

Google is adding a new feature for third-party developers building atop its Gemini AI models that rivals like OpenAI's ChatGPT, Anthropic's Claude, and the growing array of Chinese open source options are unlikely to get anytime soon: grounding with Google Maps.

This addition allows developers to connect Google's Gemini AI models' reasoning capabilities with live geospatial data from Google Maps, enabling applications to deliver detailed, location-relevant responses to user queries—such as business hours, reviews, or the atmosphere of a specific venue.

By tapping into data from over 250 million places, developers can now build more intelligent and responsive location-aware experiences.

This is particularly useful for applications where proximity, real-time availability, or location-specific personalization matter—such as local search, delivery services, real estate, and travel planning.

When the user’s location is known, developers can pass latitude and longitude into the request to enhance the response quality.

By tightly integrating real-time and historical Maps data into the Gemini API, Google enables applications to generate grounded, location-specific responses with factual accuracy and contextual depth that are uniquely possible through its mapping infrastructure.

Merging AI and Geospatial Intelligence

The new feature is accessible in Google AI Studio, where developers can try a live demo powered by the Gemini Live API. Models that support the grounding with Google Maps include:

In one demonstration, a user asked for Italian restaurant recommendations in Chicago.

The assistant, leveraging Maps data, retrieved top-rated options and clarified a misspelled restaurant name before locating the correct venue with accurate business details.

Developers can also retrieve a context token to embed a Google Maps widget in their app’s user interface. This interactive component displays photos, reviews, and other familiar content typically found in Google Maps.

Integration is handled via the generateContent method in the Gemini API, where developers include googleMaps as a tool. They can also enable a Maps widget by setting a parameter in the request. The widget, rendered using a returned context token, can provide a visual layer alongside the AI-generated text.

Use Cases Across Industries

The Maps grounding tool is designed to support a wide range of practical use cases:

Developers are encouraged to only enable the tool when geographic context is relevant, to optimize both performance and cost.

According to the developer documentation, pricing starts at $25 per 1,000 grounded prompts — a steep sum for those trafficking in numerous queries.

Combining Search and Maps for Enhanced Context

Developers can use Grounding with Google Maps alongside Grounding with Google Search in the same request.

While the Maps tool contributes factual data—like addresses, hours, and ratings—the Search tool adds broader context from web content, such as news or event listings.

For example, when asked about live music on Beale Street, the combined tools provide venue details from Maps and event times from Search.

According to Google, internal testing shows that using both tools together leads to significantly improved response quality.

Customization and Developer Flexibility

The experience is built for customization. Developers can tweak system prompts, choose from different Gemini models, and configure voice settings to tailor interactions.

The demo app in Google AI Studio is also remixable, enabling developers to test ideas, add features, and iterate on designs within a flexible development environment.

The API returns structured metadata—including source links, place IDs, and citation spans—that developers can use to build inline citations or verify the AI-generated outputs.

This supports transparency and enhances trust in user-facing applications. Google also requires that Maps-based sources be attributed clearly and linked back to the source using their URI.

Implementation Considerations for AI Builders

For technical teams integrating this capability, Google recommends:

Grounding with Google Maps is currently available globally, though prohibited in several territories (including China, Iran, North Korea, and Cuba), and not permitted for emergency response use cases.

Availability and Access

Grounding with Google Maps is now generally available through the Gemini API.

With this release, Google continues to expand the capabilities of the Gemini API, empowering developers to build AI-driven applications that understand and respond to the world around them.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Gemini AI Google Maps AI集成 地理空间数据 位置服务 第三方开发者 Gemini API AI应用 Gemini Google AI Maps Location Services Geospatial Data Third-party Developers AI Integration
相关文章