该API项目无权使用该API.请确保在 APIs Console 中激活此 API [英] This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console

查看:21
本文介绍了该API项目无权使用该API.请确保在 APIs Console 中激活此 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个纬度和经度:"-27.0000,133.0000".我想在此基础上制作地图.

I have a latitude, and longitude : "-27.0000,133.0000". I want produce a map base on that.

我试过去这个链接

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

我一直在浏览器上收到此错误

I keep getting this error on the browser

{
   "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 控制台,并仔细检查.

But I think I already enable that API. I log-in to my Google Console, and double check.

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

我明白了:

启用地理编码 + 地理定位.

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

I'm a little stuck now. Is there anything that I missed here?

推荐答案

从你贴的图片来看,它说它已禁用...

From the picture you posted, it say it's disabled...

转到开发者控制台

导航到 Google Maps -> APIs

搜索 Geocoding 并点击 Google Maps Geocoding API -> Enable API.对地理定位做同样的事情

Search for Geocoding and click on Google Maps Geocoding API -> Enable API. Do the same thing for Geolocating

这篇关于该API项目无权使用该API.请确保在 APIs Console 中激活此 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆