openstreetmap / iD

🆔 The easy-to-use OpenStreetMap editor in JavaScript.
https://www.openstreetmap.org/edit?editor=id
ISC License
3.34k stars 1.2k forks source link

Allow marker to persist when entering the editor #9556

Open jidanni opened 1 year ago

jidanni commented 1 year ago

Description

Here we are about to push the Edit button seen in the image. All our attention is focused on the marker you see here.

Screenshots

20230320T133709

Well, alas, when we enter iD it disappears. Some users would "pay cash" if you could kindly keep the reference marker on the screen after entering iD. It is only a harmless reference marker. It is not some tagged map data etc.

Yes, it is where grandma dropped us off right across the street from the buried treasure. Not important. It's the user's own business what it is.

1ec5 commented 1 year ago

More generally, iD could support a hash parameter or query parameter indicating a coordinate or bbox to mark using a synthesized data layer. The Tasking Manager currently relies on the gpx parameter, passing in a specially generated GPX file that contains a five-coordinate trace, but this feels like a hack. Meanwhile, MapRoulette tasks can’t mark the task’s geometry at all in iD, whereas they can add reference layers to JOSM. Both platforms would benefit from being able to pass in the coordinates more straightforwardly.

Persisting osm.org’s marker would similarly require this feature, but it would also require openstreetmap-website to include the marker coordinates in the edit URL, whereas it currently drops the coordinates. That’s outside the scope of this repository.

/ref #5856 https://github.com/maproulette/maproulette3/issues/1802#issuecomment-1225510497