gpt4 book ai didi

google-maps - 该API项目无权使用该API。请确保在 API 控制台中激活此 API

转载 作者:行者123 更新时间:2023-11-30 10:35:58 25 4
gpt4 key购买 nike

我有纬度和经度:“-27.0000,133.0000”。我想以此为基础制作一张 map 。

我尝试过访问此链接

https://maps.googleapis.com/maps/api/geocode/json?latlng=-27.0000,133.0000&key=******

我在浏览器上不断收到此错误

{
"error_message" : "This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console: Learn more: https://code.google.com/apis/console",
"results" : [],
"status" : "REQUEST_DENIED"
}

但我想我已经启用了该 API。我登录到我的 Google Console,并仔细检查。

当我访问:https://console.developers.google.com/project/75423435770063/apiui/apis/enabled

我明白了:

地理编码 + 地理定位已启用。

enter image description here

我现在有点卡住了。这里有什么我错过的吗?

最佳答案

从你发布的图片来看,它说它已被禁用......

转到Developer Console

导航至 Google map -> API

搜索地理编码并点击 Google Maps Geocoding API -> 启用 API。对地理定位执行同样的操作

关于google-maps - 该API项目无权使用该API。请确保在 API 控制台中激活此 API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58031138/

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