我可以获得一个城市的经纬度 [英] haw can i get latitude and longitude of a city

查看:64
本文介绍了我可以获得一个城市的经纬度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个城市的纬度和经度。我将选择城市并使用谷歌api我将得到城市的经度和经度。然后我将它们显示给两个texbox。

thnx in advanced ....

i need latitude and longitude of a city.i will select the city and using google api i will get the latitude and longitude of the city.then i''ll show them to two texboxes.
thnx in advanced....

推荐答案

您好,



您可以使用GoogleMap Control:

http://googlemap.codeplex.com/ [ ^ ]



http://googlemap.codeplex.com/wikipage?title=Google%20Geocoder&referringTitle=Documentation [ ^ ]
Hi,

You can use the GoogleMap Control:
http://googlemap.codeplex.com/[^]

http://googlemap.codeplex.com/wikipage?title=Google%20Geocoder&referringTitle=Documentation[^]




您可能需要传递街道,城市和州的详细信息才能获得经度详情

请查看以下网址

查找特定地址的纬度和经度的源代码 [ ^ ]


Thnx全部为您的回复。如果我刚刚发送城市的话怎么样命名并获得纬度和经度。我已经解决了这个问题.... :)
Thnx all for your reply.what about if i just sent the city name and get the latitude and longitude.i have solved that problem.... :)


这篇关于我可以获得一个城市的经纬度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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