从ASP网页使用C#进行地理定位 [英] geolocalization using c# from asp webpage

查看:68
本文介绍了从ASP网页使用C#进行地理定位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是该论坛的新手,我想问一下这个社区中的某人是否曾经使用过使用c#的地理定位算法,是否可以使用googles maps API或任何其他已知的API?

hello i''m new in this forum and i would like to ask if omeone in this community has ever used geolocalization algoritms using c# could be using googles maps API or any other know API? thank you in advance.

推荐答案

是的,但是不是很多(用来获取地址的经度/纬度).基本过程是向任何人(Google,Yahoo等)进行注册以使用API​​.这将为您提供一个唯一的标识符,该标识符将在调用函数时作为查询字符串的一部分传递.它将返回XML字符串,您可以将其解析为所需的信息.

如果您访问该站点,它将有相应的文档/示例:
雅虎! [ Google [
Yep, but not a whole lot (used it to get latitude/longitude for addresses). Basic process is to register to use the API with whoever (Google, Yahoo, etc.). This will get you a unique identifier that you will pass as a part of your query strings when calling the functions. It will return XML string, which you can parse for the info you want.

If you go to the site, it will have documentation/example to follow:
Yahoo![^]
Google[^]


这篇关于从ASP网页使用C#进行地理定位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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