如何让用户选择他们的城镇,让我的应用程序就可以知道坐标 [英] How to let users choose their town, so my app can know coordinates
问题描述
我开始在C#我的第一个开源ASP.NET项目。数据网络应用将要展示的是与城市的地理坐标密切的关系。
I am starting my first Open Source ASP.NET project in C#. Data that Web app is going to show is in close relation with geographic coordinates of towns.
现在我想要实现的用户界面,Web应用程序的用户可以选择所需的小镇,并提交形式,后面的场景我想选择的镇坐标,这样我就可以进行计算。
Now I want to implement user interface where user of web app can choose a desired town and submit form, and behind scene i want to get coordinates of chosen town, so I can make calculations.
现在我想知道是否有某种免费服务或库,它可以实现我得到想要的结果吗?
Now I wondering is there some free services or library, which can I implement to get wanted results?
请问谷歌的地图提供这个功能或者有其他服务,世界各地的城市数据库和他们的坐标?
Does Google's Maps provide this feature or there is other services with databases of towns around worlds and theirs coordinates?
推荐答案
看看微软的Bing地图API。
Take a look at Microsoft's Bing Maps API.
http://msdn.microsoft.com/en-us/library/ ff701711.aspx
这篇关于如何让用户选择他们的城镇,让我的应用程序就可以知道坐标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!