弃用V2 [英] Deprecation of V2
问题描述
我有一个应用程序调用v2 api而不使用密钥:
< script type =text / javascriptsrc = http://maps.google.com/maps?file=api&v=2&key= >< /脚本>
在过去的几天里,这样做已停止。控制台只显示一个错误:
Google Maps Javascript API v2不再支持控制...
然而,无论我尝试调用v3 API,我都会收到一个错误消息:
Google禁止在此应用中使用Maps API。提供的密钥不是有效的Google API密钥,也未授权Google Maps JavaScript API v3在这个网站上
我已经检查并重新连接了一张有效的银行卡到账户(尽管未结余额为0.00美元)这笔付款似乎尚未注册。
任何领导人下一步该去哪里?
< script type =text / javascript
src =https://maps.googleapis.com/maps/api/js?key=API_KEY&sensor=FALSE>
< ; / script>
I have an application calling the v2 api without key using:
<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key="></script>
This has stopped working over the past couple of days. Console is showing only one error:
Control is no longer supported in the Google Maps Javascript API v2...
However, whichever way I try and call the v3 API, I get an error :
"Google has disabled use of the Maps API for this application. The provided key is not a valid Google API Key, or it is not authorized for the Google Maps Javascript API v3 on this site"
I have checked, and re-connected a valid bank card to the account (although the outstanding balance was $0.00) This payment appears not to have been registered.
Any leaders on where to go next?
Loading the Google Maps API page states to use this code with a new API key placed into the code at API_KEY and you will probably need to set your sensor to FALSE, also you may need to place the new API key into your application settings page.
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=API_KEY&sensor=FALSE">
</script>
这篇关于弃用V2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!