如何在google map api中为localhost提供引荐来源网址? [英] How to give referrer url for localhost in google map api?

查看:109
本文介绍了如何在google map api中为localhost提供引荐来源网址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用谷歌地图地理编码api从邮政编码获取城市,国家和州。我给网址添加pourpose它工作正常,但当我尝试给引用网址编辑它不再工作。
i得到错误RefererNotAllowedMapError;

I am using google map geocode api for getting city,country,and state from zip code.i give the url to add pourpose it works fine but when i try to give referrer url for edit it not work anymore. i am getting error "RefererNotAllowedMapError";

不知道如何为编辑提供网址,因为每次编辑的网址都是更改。请分享解决方案,如果有任何其他方法使用geocode api。

not understand how to give url for edit because every time the url of edit are change. please share solutions if any other method to use geocode api.

推荐答案

我今天遇到了这个问题,只需键入localhost就可以了凭证部分,它工作。

I had that problem today, just typed "localhost" on the credentials part and it worked.

这篇关于如何在google map api中为localhost提供引荐来源网址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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