openstreetmap/openstreetmap-website — pull request #27 by mvexel (2012-02-29 16:21:34+00:00)
Title: W3C Geolocation added to user account settings page (4rd attempt)

I added W3C Geolocation functionality to the user location map on the account settings page. This attempts to find a coarse location if the user has no home location set, so as to make setting the home location easier. If the location is already set, the map can be manually centered on the approx location by clicking a link on top of the map. When W3C geolocation fails (or is denied by the user), the page falls back to the old behaviour of showing a world map.