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

Swap url map order to zoom/latitude/longitude for iD v2 #3554

Closed
claudiush opened this issue Nov 5, 2016 · 6 comments
Closed

Swap url map order to zoom/latitude/longitude for iD v2 #3554

claudiush opened this issue Nov 5, 2016 · 6 comments
Labels
question Not Actionable - just a question about something

Comments

@claudiush
Copy link

Tried to navigate via URL to
https://openstreetmap.us/iD/master/#background=Bing&map=16.00/46.9339/-123.4923
but the longitude kept reverting to
https://openstreetmap.us/iD/master/#background=Bing&map=16.00/46.9339/-90.0000

@bhousel
Copy link
Member

bhousel commented Nov 5, 2016

The mirror on openstreetmap.us uses longitude/latitude order..

@bhousel
Copy link
Member

bhousel commented Nov 5, 2016

Hmm, maybe we should take this opportunity with the v2 release to switch the url hash order to the more familiar zoom/latitude/longitude?

I'm definitely tired of having this conversation, and would prefer to have the default order that people expect to see in a url hash.

Does anyone care if I do this? And have good reasons for caring?

@bhousel bhousel changed the title Negative longitutes in url parameters capped at -90 [2.0 beta] Swap url map order to zoom/latitude/longitude for iD v2 Nov 5, 2016
@bhousel bhousel added wip-iD-v2 question Not Actionable - just a question about something labels Nov 5, 2016
@boothym
Copy link
Contributor

boothym commented Nov 5, 2016

Isn't the order already lat/lon on the main OSM website? (Unless I'm mistaken and you're referring to the OSM.us site!)

@pnorman
Copy link
Contributor

pnorman commented Nov 5, 2016

Isn't the order already lat/lon on the main OSM website?

The order on the OSM site isn't the order iD uses. osm.org overrides it.

Does anyone care if I do this? And have good reasons for caring?

👍, it allows copy/paste from osm.org or other URLs. The minus I see is that it breaks any links to a specific location on a deployment of iD that isn't overriding the order already.

@bhousel
Copy link
Member

bhousel commented Nov 6, 2016

The order on the OSM site isn't the order iD uses. osm.org overrides it.

Yes openstreetmap-website contains special javascript code to workaround this iD "feature".

it allows copy/paste from osm.org or other URLs. The minus I see is that it breaks any links to a specific location on a deployment of iD that isn't overriding the order already.

Yeah, this is why if we are going to change it, now is the time to do it - v2 already contains a number of other breaking changes.

@bhousel
Copy link
Member

bhousel commented Nov 10, 2016

I did this. 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Not Actionable - just a question about something
Projects
None yet
Development

No branches or pull requests

4 participants