搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Google has disable the use of the api key

  • 3 个回答
  • 7 人有此问题
  • 1 次查看
  • 最后回复者为 llamaza

more options

I've setup a google static map using the api key v3 in this site www.pequenonim.es. Problem is Firefox is giving an error message: " Google ha inhabilitado el uso del API de Google Maps para esta aplicación. La clave proporcionada no es una clave de API de Google válida, o no está autorizada para la versión 3 del API de JavaScript de Google Maps en este sitio. Si eres el propietario de esta aplicación, puedes consultar cómo se obtiene una clave válida aquí: https://developers.google.com/maps/documentation/javascript/tutorial#api_key" Something like Google has disabled the use of the API for this application. The key is not valid or is not authorized for version 3 of the api of javascript in this site.

Measurements already taken:

API v3 and API v2 enable on api code panel Reset firefox Clean cookies and cache of firefox.

Map actually works on Chrome and IE10.

I've setup a google static map using the api key v3 in this site www.pequenonim.es. Problem is Firefox is giving an error message: " Google ha inhabilitado el uso del API de Google Maps para esta aplicación. La clave proporcionada no es una clave de API de Google válida, o no está autorizada para la versión 3 del API de JavaScript de Google Maps en este sitio. Si eres el propietario de esta aplicación, puedes consultar cómo se obtiene una clave válida aquí: https://developers.google.com/maps/documentation/javascript/tutorial#api_key" Something like Google has disabled the use of the API for this application. The key is not valid or is not authorized for version 3 of the api of javascript in this site. Measurements already taken: API v3 and API v2 enable on api code panel Reset firefox Clean cookies and cache of firefox. Map actually works on Chrome and IE10.

被采纳的解决方案

Yesterday night i've change the code. I was using....

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=mykey&sensor=false"></script> <script type="text/javascript" src="http://www.map-generator.org/map/iframejs/a55a1cf0-76c6-4068-a572-2810c0a68d53?key=mykey&width=100%px&height=350px"></script>...

and I've change for a version form the developer and everything is woking now without the api key.

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>

I'm starting to learn the Google Maps Api coding so i'm not pretty sure if I will have problems in the next future with these code without the key.

But thanks you very much for your support.

定位到答案原位置 👍 2

所有回复 (3)

more options

The map works here on Linux.

You can remove all data stored in Firefox from a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History > Show All History" or "View > Sidebar > History") or via the about:permissions page.

Using "Forget About This Site" will remove all data stored in Firefox from that domain like bookmarks, cookies, passwords, cache, history, and exceptions, so be cautious and if you have a password or other data from that domain that you do not want to lose then make a note of those passwords and bookmarks.

You can't recover from this 'forget' unless you have a backup of the involved files.

It doesn't have any lasting effect, so if you revisit such a 'forgotten' website then data from that website will be saved once again.

more options

Is it the map on the bottom of the main page? It works for me in Firefox 24 on Windows 7 from California.

You may want to look at the code in Firefox's source viewer, starting a few lines below id="bottom2", as there are some stray <html>, <head>, and <body> tags that suggest a template or plugin isn't fully compatible with your page.

more options

选择的解决方案

Yesterday night i've change the code. I was using....

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=mykey&sensor=false"></script> <script type="text/javascript" src="http://www.map-generator.org/map/iframejs/a55a1cf0-76c6-4068-a572-2810c0a68d53?key=mykey&width=100%px&height=350px"></script>...

and I've change for a version form the developer and everything is woking now without the api key.

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>

I'm starting to learn the Google Maps Api coding so i'm not pretty sure if I will have problems in the next future with these code without the key.

But thanks you very much for your support.