gpt4 book ai didi

google-maps - 用于地理编码的 map API key 不起作用

转载 作者:行者123 更新时间:2023-12-02 05:23:56 25 4
gpt4 key购买 nike

我已经阅读了您对此的回答。 Maps API keys for geocoding not working anymore?

目前我正在尝试这个: https://maps.google.com/maps/api/geocode/json?address=n&sensor=true&key=apikeygoeshere

给我错误:

This API project is not authorized to use this API.

请建议我如何才能完成我的应用程序。我正在搜索我的应用程序的位置。我可以稍后购买商业计划,但现在我需要测试开发。我有以下服务:Google Maps Coordinate API、Google Maps Engine API、Google Maps Geolocation API、Google Maps JavaScript API v3、Google Maps SDK for iOS、Places API。

最佳答案

您指的不是 Geolocation API。它是地理编码 API。您需要在控制台中启用 Geocoding API。请看the documentation .

  1. 访问 API 控制台 https://code.google.com/apis/console并使用您的 Google 帐户登录。
  2. 点击 API 控制台左侧菜单中的“服务”链接,然后激活地理编码 API 服务。

希望这对您有所帮助。

关于google-maps - 用于地理编码的 map API key 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22061671/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com