Google静态地图拒绝了我的请求,但已启用

时间:2014-07-27 19:36:08

标签: google-maps

我已经在这几个小时了,很多人似乎有同样的问题,但没有人有答案。

我正在尝试将静态地图嵌入到我的网站中。

<iframe width="600" height="450" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q=Phoenix%2C%20Arizona%2C%20United%20States&key=key"></iframe>

我收到此错误:

但我在控制台中启用了静态地图API

enter image description here

1 个答案:

答案 0 :(得分:1)

这不是static map(静态地图是图像),它是嵌入式地图。

您必须启用 Google Maps Embed API -service