Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Switch lon/lat to lat/lon in the Strava version of iD #3

Description

@almccon

I'm not sure why the version of iD on Strava's github uses the longitude/latitude style in the URL instead of the latitude/longitude style used by the default iD on osm.org, and used in URLs for most slippy maps.

Slide url: http://strava.github.io/iD/#background=Bing&map=18.00/-122.48614/37.73513
OSM.org url: https://www.openstreetmap.org/edit#map=18/37.73513/-122.48614

I know there's not really any convention for web mapping, since you'll see lat/lon and lon/lat mixed in code all over the place, so I'm not saying one is any more correct than the other. But, for the purposes of coordinates in a URL, zoom/lat/lon seems to be the standard.

Why do I care? Only one reason: it's inconvenient to copy-and-paste the zoom/lat/lon from other URLs into Strava's iD when I'm using Slide. Copy-and-paste is the main way I navigate to the spot I want to edit with Slide.

Is there any reason you switched them, @paulmach?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions