Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geolocation for main map #57

Closed
simon04 opened this issue Jul 26, 2012 · 5 comments
Closed

Geolocation for main map #57

simon04 opened this issue Jul 26, 2012 · 5 comments

Comments

@simon04
Copy link
Member

simon04 commented Jul 26, 2012

It would be great, if the main map on the OpenStreetMap website showed a "geolocate me" button using the W3C geolocation. For this feature, an OpenLayers example exists on http://openlayers.org/dev/examples/geolocation.html. User SamatJain blogged about this some time ago: http://www.openstreetmap.org/user/SamatJain/diary/11287

When adding this feature, one should clarify the "Where am I?" link (which reverse-geolocates the current map position) – I have always been expecting the geolocation feature.

@tomhughes
Copy link
Member

I believe there is already a ticket in trac for this, and it is sort of covered by #27 already where @mvexel started working on this. Main problem is finding space for it on our alreayd hugely oversubscribed home page, so it's kind of dependent on that getting a redesign.

@simon04
Copy link
Member Author

simon04 commented Jul 26, 2012

As far as I understand #27, this is (only) about the user settings page. Concerning space, next to the "Where am I?" would be ideal. Maybe, we could go for a small icon, e.g., the one used in Chrome to indicate the use of Geolocation API: https://support.google.com/chrome/?p=cpn_location_sharing

@tomhughes
Copy link
Member

I believe the intention was for that just to be a first step.

We do already geolocate the front page automatically for people who aren't logged in and don't have a cookie from a previous visit to the site.

@simon04
Copy link
Member Author

simon04 commented Jul 26, 2012

I believe the intention was for that just to be a first step.

I couldn't read that from #27… Why not keep this ticket open as reference/reminder?

We do already geolocate the front page automatically for people who aren't logged in and don't have a cookie from a previous visit to the site.

Are you relating to the Quova geolocation based on the IP address? For my ISP/country (Austria), this isn't working too great – I get to see the entire Europe…

@tomhughes
Copy link
Member

Yes, that's using the Quova geolocation. I'd be happy to take a patch to make it do browser geolocation but it would mean some restructuring of the code as it is done server side at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants