我可以获得一个城市的经纬度

我可以获得一个城市的经纬度

问题描述:

我需要一个城市的纬度和经度。我将选择城市并使用谷歌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.... :)