开发者

Location Services? Detecting your location

I'd like to get a stronger idea of ho开发者_Go百科w websites like http://www.msn.com/ can detect where you are. I know that you can do this by IP, but that can be extremely inaccurate depending on your ISP.

What is the most accurate method of doing this on the web?


The ways you can do this, in descending order of accuracy:

  1. Geolocation API (requires user to have compatible browser and give explicit permission)
  2. Profiling data from advertising network.
  3. IP Geolocation (Free versions tend to be very inaccurate, you can pay for slightly more accurate data)
  4. User entered data.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜