是否可以检测移动浏览器的GPS定位? [英] Is it possible to detect a mobile browser's GPS location?

查看:362
本文介绍了是否可以检测移动浏览器的GPS定位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在针对手机网站,并希望当他们参观我的默认页面,所以我可以告诉他们在他们的地区结果得到用户的当前GPS纬度/经度。这可能使用ASP.NET?


  

另请参见


  
  

得到手机浏览器位置数据



解决方案

有服务,将让你基于IP地址的位置。它不会像precise的GPS数据,但无需在手机上安装一个应用程序,你会得到它可能是接近。

I am making a web site targeted at mobile phones and would like to get the user's current GPS latitude/longitude when they visit my default page so I can show them results in their area. Is this possible using ASP.NET?

See Also

Get position data from mobile browser

解决方案

There are services that will give you a location based on IP address. It won't be as precise as the GPS data but without having an application installed on the phone it may be as close as you are going to get.

这篇关于是否可以检测移动浏览器的GPS定位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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