【问题标题】:google maps embed api not working on one page not on other谷歌地图嵌入API不能在一个页面上而不是在其他页面上
【发布时间】:2016-04-06 07:49:54
【问题描述】:

我正在使用 appgini 在表格上创建一些视图。一种选择是使用 Google 地图字段。

我看到的奇怪的事情是这个应用程序生成的 iframe 看起来不错,但是我收到了类似的错误

Google Maps API 服务器拒绝了您的请求。此 IP、站点或 移动应用无权使用此 API 密钥。

但是当我将生成的 iframe 复制到单独的 html 文件(在同一网站上)时,它工作正常。

应用程序示例http://www.cs010.cc/Test/Oefeningen2/Oefeningen_view.php

示例(带有精确 iframe):http://cs010.cc/Test/test.html

希望有人可以帮助我。

【问题讨论】:

    标签: api google-maps embed


    【解决方案1】:

    这与浏览器 API 密钥的 http 引荐来源网址有关。 我把它改成了 .cs010.cc/ (以前是http://cs010.cc

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-09-26
      • 2023-04-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-04-10
      相关资源
      最近更新 更多