从城市名称/地址/邮政编码获取经度和纬度并生成XML输出

时间:2013-03-19 10:21:10

标签: javascript html xml latitude-longitude

我正在尝试开发一个应用程序。
输入城市名称并以XML格式获取city, country, country-code, region, latitude and longitude ...
我在经度和经度上都是新的.... 我想要一些像这样的输出: -

如果在文本框中输入任何城市名称: - 例如: - Rajkot
然后返回: - city name, country, country_code, region, latitude, longitude

感谢

1 个答案:

答案 0 :(得分:0)

我猜您正在寻找google maps Geocoding