Google Map API密钥错误“您的网站网址待授权" [英] Google Map API key error "Your site URL to be authorized"
问题描述
我搜索了许多链接并阅读了与google api键相关的文档,但是每次我遇到唯一的错误Your site URL to be authorized
I have searched many links and read documents related to google api key, but every time I am getting the only error of Your site URL to be authorized
我正在创建一个 PhoneGap混合应用程序,在这里我不确定是否必须将哪个URL传递给google api密钥引荐来源网址,所以我被困在这里
I am creating a PhoneGap hybrid application where I am not sure if which URL I have to pass to google api key referrer so I am stuck here
我用于Google脚本的是:
What I am using for google script is:
<script src="https://maps.googleapis.com/maps/api/js?v=3&key=MY_API_KEY&sensor=false" type="text/javascript"></script>
已更新
我已经使用Google控制台创建了浏览键,但是现在我在创建cordova应用程序时必须在引荐链接(?)中传递什么内容
I have already created Browse Key using google console but now What I have to pass in referrer link ( ? ) while I am creating a cordova application
推荐答案
1.保留空白 2.您需要为您的项目启用google maps api.
1.Leave it blank 2.You need to enable the google maps api for your project.
这篇关于Google Map API密钥错误“您的网站网址待授权"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!