【发布时间】:2014-12-28 22:00:58
【问题描述】:
我已请求在我的网站上嵌入谷歌地图的链接
https://developers.google.com/maps/documentation/embed/start
并已授权所有知道链接的人使用它
Referers: Any referer allowed
https://code.google.com/apis/console/
但我仍然收到一个
The Google Maps API server rejected your request. This API project is not authorized
to use this API. Please ensure that this API is activated in the APIs Console:
Learn more: https://code.google.com/apis/console
还有其他方法可以使用嵌入式谷歌地图在本地测试我的网站吗?
编辑: 他们说:
Easy embedding
Google Maps Embed API maps are easy to add to your webpage—just set the URL
you build as the value of an iframe's src attribute. Control the size of the
map with the iframe's height and width attributes. No JavaScript required.
但我仍然无法访问链接。
【问题讨论】:
-
激活 Google Maps Embed API 服务。
-
并确保启用“静态地图 API”服务也与“谷歌地图 API”服务
-
如果这个问题比它大 3 岁,怎么可能是重复的?
标签: google-maps localhost