Google Maps API v3中的Javascript错误(RefererDeniedMapError) [英] Javascript error in Google Maps API v3 (RefererDeniedMapError)

查看:962
本文介绍了Google Maps API v3中的Javascript错误(RefererDeniedMapError)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们无需密钥就可以使用Google地图,并且由于流量增加,我们必须在我们的JS调用中创建并添加API密钥。但现在,当我们调用JS时,我们收到了这个错误:

lockquote
RefererDeniedMapError
https://developers.google.com/maps/faq#errorcodes




在文档中,我们没有看到与此错误有关的更多信息。
使用相同的API密钥,我们没有任何问题可以在其他域中显示地图,只有我们遇到问题。



使用我们已经放弃了允许的推荐人丢弃配置问题,我们不知道我们的域可能是被禁止的。



也添加了结算信息。



有人有想法吗?

谢谢!

解决方案


Google Maps API v3中的Javascript错误( RefererDeniedMapError

经过对您当前面临的问题的详细研究后,除了其他答案外,我已经找到了一些可能的问题答案。

有两种类型的 Referer错误


  1. RefererNotAllowedMapError

    加载Google Maps JavaScript API的当前网址并未被添加到允许的引用链接列表中的
    。请检查Google上的 API密钥的引荐来源
    设置云端控制台。

  2. RefererDeniedMapError 您的请求尚未完成。您可以在更多详情。标识符rel =nofollow noreferrer> Google云端控制台 (请看一看)。



  3. 我们无需密钥就可以使用Google地图,并且由于流量增加
    ,我们必须创建......





    1. 什么是Google Maps JavaScript API v3 的使用限制?

    2. Google Earth API的用途限制有哪些?

    构成页面浏览量的请求适用于页面浏览量总数用您的Google Maps API for Work许可证购买。当达到此限制时,您需要及时更新您的许可证。

    请阅读更多限制
    $ b


    您正面临的错误消息可能清楚地表明您
    已经超过了任何限制,并且从这一点很难猜测此
    点,因为详细的分析和配置报告从
    您的帐户(控制台)是必需的。


    请继续检查云控制台中的限制和错误。

    作为最终致电,您可以联系 付费支持



    在下面查找更多参考资料:


    1. Google条款


    2. 键常见问题


    3. SO帖子在多个API


    希望这会有用..
    谢谢


    We were using Google Maps without key and because of our traffic increase we had to create and add the API key in our JS call. But now, when we are calling the JS we are receiving this error:

    RefererDeniedMapError: https://developers.google.com/maps/faq#errorcodes

    In the documentation we don't see more information related to this error. With the same API key we don't have any problem to show the map in our other domains, only we have the problem in one.

    Playing with the allowed referrers we have discarded problems of configuration and we don't know if maybe our domain could be banned.

    The billing information was added too.

    Does anyone have an idea?

    Thanks!

    解决方案

    Javascript error in Google Maps API v3 (RefererDeniedMapError)

    After a detailed research into your issue that you are currently facing,i have come across with some possible answers to your question apart from the other answers.

    There are two types of Referer errors :

    1. RefererNotAllowedMapError

      The current URL loading the Google Maps JavaScript API has not been added to the list of allowed referrers. Please check the referrer settings of your API key on Google Cloud Console.

    2. RefererDeniedMapError

      Your request has not been completed. You may be able to find the more details about the error in the Google Cloud Console(please have a look).

    We were using Google Maps without key and because of our traffic increase we had to create......

    1. What are the usage limits for the Google Maps JavaScript API v3?
    2. What are the usage limits for the Google Earth API?

    Requests that constitute page views are applied against the total number of page views purchased with your Google Maps API for Work license. When this limit is reached, you will need to renew your license promptly.

    Please read more limitations here

    Error message that you are facing may be a clear indication that you have crossed any limitations ,and that would be hard to guess at this point from this end as detailed analysis and configuration report from your account(console) is required.

    Keep Checking the limitations , errors in your cloud console.

    As a final call you can contact the paid support from google.

    Find More references below :

    1. Google terms

    2. Keys FAQ

    3. SO post on multiple APIs

    Hope that would be useful .. Thanks

    这篇关于Google Maps API v3中的Javascript错误(RefererDeniedMapError)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆