相关疑难解决方法(0)

Localhost的Googlemaps API密钥

如何获取googlemaps api密钥才能在localhost上运行?

我已经创建了一个API密钥,在参考文献中我添加了以下内容:

Accept requests from these HTTP referrers (websites) (Optional)

Use asterisks for wildcards. If you leave this blank, requests will be 
accepted from any referrer. Be sure to add referrers before using this key 
in production. 

localhost
Run Code Online (Sandbox Code Playgroud)

这不起作用,如果我排除api键它也不起作用?

google-maps api-key google-maps-api-3

59
推荐指数
5
解决办法
10万
查看次数

Google Maps API V3中的API密钥是什么?

在旧版本的API中,我必须使用类似的东西将javascript插入到页面中,以便只使用基本功能:

http://maps.google.com/maps?file=api&v=2&key= GoogleMapsAPIKey

我必须为每个站点配置API密钥.看一下文档,它说要获得一个基本的地图,我只需要这个:

http://maps.google.com/maps/api/js?sensor= true/false

API密钥在哪里适用?如果我只是计划使用基本地图和标记而不是更高级的功能,我是否需要担心?

我也在localhost上测试,但常见问题解答说我还需要为它注册一个密钥,我还没有这样做,它仍然有效.

javascript google-maps api-key google-maps-api-3

58
推荐指数
3
解决办法
8万
查看次数

如何设置 Google API 密钥限制 - HTTP 引荐来源网址

Google API 密钥限制 - HTTP 引荐来源网址

我把我的 Azure 网站 url xxxx.scm.azurewebsites.net 放在那里,但不起作用(Google Places API Web 服务停止工作)。

localhost:44300 也不起作用。

我必须将密钥限制设置为“无”,然后 Google Places API Web 服务才能工作。

我做错了什么?

google-maps google-api google-places-api

4
推荐指数
1
解决办法
9185
查看次数