“此页面无法正确加载Google Maps." [英] "This page can't load Google Maps correctly."

查看:142
本文介绍了“此页面无法正确加载Google Maps."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个有效的Google Cloud Platform帐户,目的是将地图功能集成到我的网站中.目前,我在联系页面( https://voltfuse.com/contact )和经销商处都有地图.页面( https://voltfuse.com/dealers ).

I have an active Google Cloud Platform account for the purpose of integrating the map functions into my website. Currently I have a map on my contact page (https://voltfuse.com/contact) and on my dealers page (https://voltfuse.com/dealers).

直到最近,我注意到经销商页面上的地图不再起作用,告诉我无法正确加载.您可以在附件的"Broken Map.png"中看到此图片.

Until recently, I noticed that the map on my dealer page is no longer working, telling me that it was unable to correctly load. You can see an image of this in the attached "Broken Map.png".

这很奇怪,因为地图可以与我的联系页面上的相同API完美配合,可以在"Working Map.png"上看到.

It's strange because the map is working perfectly with the same API on my contact page, which can be seen on "Working Map.png".

可在以下位置找到破碎页面的代码: https://codeshare.io/5w0ez7

The code for the broken page can be found here: https://codeshare.io/5w0ez7

我想知道是否有人对为什么不加载地图有任何想法.

I am wondering if anyone has any ideas as to why the map is not loading.

谢谢

亚历克斯

损坏的Map.png 推荐答案

Google最近对Google Maps JavaScript API施加了严格的限制.现在,您必须在控制台中输入您的帐单信息,以对您的帐户启用更高的限制.从给出答案的日期开始,输入您的帐单信息后,您每月将获得价值200美元的免费使用费.

Google has recently imposed strict limits on the Google Maps JavaScript API. You must now enter your billing information in the Console to enable higher limits for your account. As of the date of this answer, after entering your billing information, you will receive $200 worth of free usage per month.

https://developers.google.com上了解更多信息./maps/documentation/javascript/usage-and-billing

这篇关于“此页面无法正确加载Google Maps."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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