[openstreetmap-website] W3C Geolocation added to user account settings page (#24)
Martijn van Exel
reply+i-3414265-4bb881a99670d610221b32708c6eaec5a6dc4f6a-1419053 at reply.github.com
Tue Feb 28 07:04:23 GMT 2012
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.
The last commit (mine) is the only one I really wanted to include in this request, but I only have a yellow belt in git so why these other commits appear here is beyond me. My apologies.
You can merge this Pull Request by running:
git pull https://github.com/mvexel/openstreetmap-website user_page
Or you can view, comment on it, or merge it online at:
https://github.com/openstreetmap/openstreetmap-website/pull/24
-- Commit Summary --
* Add GPLv2 license file and mention in README
* Merge branch 'master' of https://github.com/openstreetmap/openstreetmap-website
* A rather wide swath of changes for user pages
* added W3C geolocation to user account settings page.
-- File Changes --
A LICENSE (339)
M README.mkdn (4)
A app/assets/javascripts/geolocate.js (25)
M app/assets/stylesheets/common.css.scss (17)
M app/assets/stylesheets/ltr.css.scss (1)
M app/helpers/application_helper.rb (10)
M app/views/user/_map.html.erb (9)
M app/views/user/account.html.erb (6)
M app/views/user/view.html.erb (35)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/24.patch
https://github.com/openstreetmap/openstreetmap-website/pull/24.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/24
More information about the rails-dev
mailing list