Google maps API referrer not allowed

前端 未结 9 604
长发绾君心
长发绾君心 2020-12-11 00:43

I am getting the error RefererNotAllowedMapError from some PC\'s when I load a page on my site.

RefererNotAllowedMapError

<
9条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-11 01:26

    Creating an new Browser Key fixed it for me. https://console.developers.google.com/projectselector/apis/credentials

    RefererNotAllowedMapError Error 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 the Google API Console.

    See API keys in the Google API Console. For more information, see Best practices for securely using API keys.

提交回复
热议问题