osm-fr / infrastructure

Handle tickets against osm-fr infrastructure
MIT License
21 stars 4 forks source link

layers: edit link has irrelevant &layer attached #476

Open jidanni opened 1 year ago

jidanni commented 1 year ago

In the lower right corner of https://layers.openstreetmap.fr/ there is an /edit link to e.g., https://www.openstreetmap.org/edit?zoom=12&lat=42.20119&lon=-87.85619&layers=B000000000FFFFFFFFFFTTFFFFFFFFFFFFF

Well, it turns out that those &layers= shouldn't be attached to this link, as we are talking about a totally different destination website, where they don't mean the same thing.

Marc-marc-marc commented 1 year ago

the code that need improvement is https://github.com/osm-fr/presentoir-carte/blob/master/www/index.php#L166 perhaps we should start by updating