谷歌地图API获得国家和城市 [英] google maps api get countries and cities

查看:867
本文介绍了谷歌地图API获得国家和城市的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用Ajax的自动完成摆脱谷歌地图API的国家。
当有人输入美在谷歌地图API搜索该国,并显示了类似的结果?

Can i have autocomplete with ajax to get countries from google maps api. When someone type "United" to search on google maps api for that country and to show results for similar ?

您可以给我的例子,或链接到该解决方案为谷歌地图API?

Can you give me example, or link to that solution for google maps api ?

推荐答案

有一个看谷歌商家信息自动填充API 。这里是一个<一个href=\"http://googlegeodevelopers.blogspot.com/2012/05/faster-address-entry-with-google-places.html\">blog发帖让你走

Have a look at the Google Places Autocomplete API. Here is a blog post to get you going.

这篇关于谷歌地图API获得国家和城市的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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