[openstreetmap/openstreetmap-website] Create the hide note layer button when that layer is active (PR #6891)

Andy Allan notifications at github.com
Mon Mar 16 10:33:14 UTC 2026


gravitystorm left a comment (openstreetmap/openstreetmap-website#6891)

I don't think this is a good approach, for a few reasons:

* We have multiple overlay layers, which are shown in the layers menu. I know that it's not great UI as-is, but adding a button for just one of the layers is inconsistent
* There's some ambiguity here around activation state. When the button is in active mode (as shown), but the icon has a crossed out eye, it's not clear whether the button is to show the layer or to hide it.
* If we added such a button, it should be grouped with the other note button
* I think that it's too niche a problem to have the button showing all the time, but I also wouldn't want buttons appearing and disappearing.

So overall I don't think this is the answer.

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

Message ID: <openstreetmap/openstreetmap-website/pull/6891/c4066684516 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260316/2c560cfd/attachment.htm>


More information about the rails-dev mailing list