They already do that.
It is hidden under the little ⓘ in the bottom right corner. That is a very meagre interpretation of the attribution guidelines. To help combat the idea that a map must be made by some megacorp to be viable, visibility of OpenStreetMap is important.
ellenhp: Why not start with the attribution toggled open, or some alternative way to highlight the map data's provenance?
edit: Attribution is now shown toggled open at page load, resolving this issue.
Please open an issue with upstream (maplibre-gl-js) if you're not happy with the attribution that it provides by default. On my end I need to do better to make sure that it's never covered up. I'm really bad at CSS so that's going to be a fun time but obviously needs to be done. There's an issue open to track it now.
Re:Show HN: Self-Hosted Maps Stack
by patriksvensson on Saturday May 28, 2022 @03:30AM
(#31538335)
This seems resolved. Attribution toggles open when its loaded now.
Huh, it does. That was impressively fast.
Where you viewing it on a small window/screen the first time? This uses mapbox or maplibre for map viewing and it defaults to collapsing the attribution on small screens: https://docs.mapbox.com/mapbox-gl-js/api/markers/#attributio...
No, nearly full screen on a desktop.
Seems to be hit and miss on mobile web (I can trigger the 'i' to show but don't see it in all views).
Currently travelling so will investigate further when somewhere appropriate (may be cached on my phone, something specific to mobile web, etc).
See https://www.openstreetmap.org/copyright