获取v2 Google Maps API密钥 [英] Obtaining a v2 Google Maps API key

查看:133
本文介绍了获取v2 Google Maps API密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看来,在我的网站开发和上线(现在)之间谷歌已经淘汰了Google Maps v2 API。我所有的进步,但重写所有我的地图代码似乎有点太多,我现在要处理。



它是可能的在Web的某个隐藏角落获取Google Maps v2 API密钥?

解决方案

https://code.google.com/apis/console ,如版本3文档中所述https://developers.google.com/maps/documentation/javascript/tutorial#api_key 。控制台密钥适用于版本2,并提供统计报告的好处。



违反条款使用API​​而没有密钥,实际上这不适用不像谷歌那样的域名是 http://codethink.no-ip.org/mapHacks.html 。该网页的网络版缓存版本可以运行,因为它位于Google网域中。


It seems that in between the development of my website and the go-live (now) Google has phased out the Google Maps v2 API. I'm all for progress but to rewrite all my map code seems to be a bit too much for me to handle at this point in time.

Is it sill possible to obtain a Google Maps v2 API key in some hidden corner of the web?

解决方案

Get a new Console key from https://code.google.com/apis/console as described in the Version 3 docs at https://developers.google.com/maps/documentation/javascript/tutorial#api_key. Console keys work with Version 2 and provide the benefits of statistics reporting.

It's against the Terms to use the API without a key, and in fact this won't work on domains which aren't Google's like http://codethink.no-ip.org/mapHacks.html. The webcache version of that page works because it's on a Google domain.

这篇关于获取v2 Google Maps API密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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