Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Default to a map of the whole world in the Slippy Map at /user/:user/diary/new and /user/:user/account #2008

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: avarab[at]gmail.com
[Submitted to the original trac issue database at 12.27pm, Wednesday, 1st July 2009]

When adding a new diary entry or setting your location in preferences the Slippy Map will default to London at zoom 4 or 5:

http://www.openstreetmap.org/?lat=51.5&lon=-0.1&zoom=4

Instead it should default to a map view of the whole world:

http://www.openstreetmap.org/?lat=0&lon=0&zoom=1

We're getting more users outside London (and Europe) and defaulting to a view of the globe is therefore appropriate.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 12.54pm, Wednesday, 1st July 2009]

Using the user's home location might be a better starting point...

@openstreetmap-trac
Copy link
Author

Author: avarab[at]gmail.com
[Added to the original trac issue at 5.45pm, Wednesday, 1st July 2009]

Replying to [comment:1 tom[at]compton.nu]:

Using the user's home location might be a better starting point...

That's already done. This is the default when there is no home location.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 4.33pm, Monday, 18th April 2011]

Harry made this change for the user page at the recent hack day.

@openstreetmap-trac
Copy link
Author

Author: mmd
[Added to the original trac issue at 7.34am, Friday, 22nd May 2020]

Diary Map location still defaults to London: https://github.com/openstreetmap/openstreetmap-website/blob/master/app/assets/javascripts/osm.js.erb#L126

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

No branches or pull requests

1 participant