openstreetmap/openstreetmap-website — pull request #25 by mvexel (2012-02-29 00:57:00+00:00)
Title: W3C Geolocation added to user account settings page (2nd 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.