[openstreetmap/openstreetmap-website] No way to remove GPX trace marker (#1735)

Anton Khorev notifications at github.com
Tue May 20 12:36:14 UTC 2025


AntonKhorev left a comment (openstreetmap/openstreetmap-website#1735)

> The user can already
> 
>    * (a list of completely different things)

...and the solutions proposed here are *let's do another completely different thing like a popup menu*.

If we don't want to introduce *another completely different thing*, one possible solution is: make the `mlat`/`mlon` marker to be managed by the *Share* panel. Currently you can get two visible markers at the same time: one from `mlat`/`mlon` and one from opening *Share*. This is also bad probably. Instead we could:

- have one marker managed by *Share* panel code
- that marker will appear when the map is opened with the `mlat`/`mlon` parameters
- that marker won't appear/disappear when the share panel is opened/closed, otherwise sharing a marker won't work as expected
- maybe clicking the marker should open the *Share* panel if it was closed
- the visibility of the marker is controlled by the *Include marker* checkbox; unchecking it is going to be a way to remove the marker
- maybe the checkbox needs to be replaced by something more prominent, like a button [Add Marker] / [Remove Marker]; then clicking the marker will open the *Share* panel and focus on the [Remove Marker] button

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1735#issuecomment-2894244998
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/1735/2894244998 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250520/417aa348/attachment.htm>


More information about the rails-dev mailing list