Google map api for hebrew

心不动则不痛 提交于 2019-12-23 12:47:27

问题


I am developing google map application for Israeli but i have no idea that geocoding not found address location using hebrew name address. I am really need help what should i do to get that.

Issue still exists that related with curl. Using browser i get response with Ok status for this : http://maps.google.com/maps/geo?q=%D7%94%D7%A8%D7%A6%D7%9C%2053%20%D7%A0%D7%AA%D7%A0%D7%99%D7%94%20%D7%99%D7%A9%D7%A8%D7%90%D7%9C&output=json&sensor=true

But using curl google response with Bad Request. Anyone can help?

Thanks, Dwi


回答1:


Are you passing the hebrew language parameter when calling the JS file?

http://code.google.com/apis/maps/documentation/javascript/basics.html#Localization

e.g. I think you would do:

<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?language=iw">



回答2:


For Hebrew please add this

http://maps.googleapis.com/maps/api/js?language=iw

As example for lnaguage hebrew



来源:https://stackoverflow.com/questions/7499302/google-map-api-for-hebrew

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!