The W3C Browser Geolocation API

The World Wide Web Consortium (W3C) have published a Geolocation API specification that allows a web page to query the user’s location using JavaScript to access objects exposed by the browser. Last Tuesday’s release of Firefox 3.5 was the first mainstream implementation of this API. This article demonstrates how to use the new geolocation functionality, ...