What's the most accurate way to determine user geolocation in the browser?

Posted by Crashalot on Stack Overflow See other posts from Stack Overflow or by Crashalot
Published on 2010-03-12T23:11:01Z Indexed on 2010/03/12 23:17 UTC
Read the original article Hit count: 406

Filed under:
|
|

I found a few examples suggesting Google AJAX APIs.

This link typifies the advice I have found so far: http://briancray.com/2009/05/29/find-web-visitors-location-javascript-google-api/

However, the location is often wrong with the Google APIs.

Other sites seem to know exactly which city I'm in, though, without me entering any information.

Suggestions? Is there something cross-browser (ignoring IE6) and reliable?

© Stack Overflow or respective owner

Related posts about geolocation

Related posts about location