载入Google地图时显示错误 [英] Google map on load showing error

查看:208
本文介绍了载入Google地图时显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google地图上的一个网站。显示地址和地图我已经使用了 gmap3插件。它在2天前工作正常。但是,当地图像这样加载时,它显示错误。

I am using Google map one of my site. To show address and map I have used gmap3 plugin. It was working fine 2 days back. But it is showing error today when the map is loading like this

NetworkError: 403 Forbidden - http://maps.googleapis.com/maps/api/js/GeocodeService.Search?4sbbsr&7sUS&9sen-US&callback=_xdc_._2cs449&token=63445

有人可以告诉我这里有什么问题吗?

Can someone kindly tell me whats the issue here?

推荐答案

解。我试图通过从服务器下载googlemap链接googlemap,并将该文件与我的应用程序链接。而不是我必须直接链接到谷歌服务器。我只是直接链接到谷歌地图API,它终于工作了。

Oh...I got the solution. I was trying to link googlemap by downloading the googlemap from the server and I was linking the file with my app. Instead of that I had to link directly to the google server. I just linked to the google map api directly and it worked finally..

这篇关于载入Google地图时显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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