Finding Location with the Geolocation API
Most of today’s web applications don’t care where you’re accessing them from. Regardless of your geographical location, they present the same content in the browser. However, if you make such information available to web applications, they can make innovative use of it. For example, a social networking web application can suggest friends who are in the same locality as you. User-location information can also be used in job portals to suggest jobs near the user’s geographical location.
The idea of tracking user location isn’t new, but at first there was no standard way to find this information. ...