在我现在正在开发的应用程序中,我使用带有纬度和经度输入的 JavaScript Google Map API 来获取位置。对于 API,在添加了我的 HTTP 引荐来源网址后,我遇到了以下错误:
{
"error_message" : "API keys with referrer restrictions cannot be used with this API.",
"results" : [],
"status" : "REQUEST_DENIED"
}
我添加了以下 HTTP 引荐来源网址
- .mydomain.com/ www.mydomain.com/* mydomain.com/*