如何设置Google地图v3密钥的引荐来源?

时间:2012-11-10 01:17:49

标签: google-maps-api-3

我使用的网站是test.herokuapp.com

我尝试过的引用是:

http://test.herokuapp.com
test.herokuapp.com/*.
*.test.herokuapp.com/*.
test.herokuapp.com/

我每次得到的错误都是:

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. 

1 个答案:

答案 0 :(得分:3)

试试这个:

test.herokuapp.com/*