[openstreetmap/openstreetmap-website] Fix issue #6256: Add info icon with Wiki links to map layers menu (PR #6669)

Holger Jeromin notifications at github.com
Sat Jan 3 03:16:14 UTC 2026


@HolgerJeromin commented on this pull request.



> +        "cyclemap": "https://wiki.openstreetmap.org/wiki/OpenCycleMap",           
+        "transportmap": "https://wiki.openstreetmap.org/wiki/Transport_Map",
+        "tracestracktopo": "https://wiki.openstreetmap.org/wiki/Tracestrack",
+        "hot": "https://wiki.openstreetmap.org/wiki/Humanitarian",
+        "shortbread": "https://wiki.openstreetmap.org/wiki/Shortbread",
+        "openmaptiles_osm": "https://wiki.openstreetmap.org/wiki/MapTiler"
+      };
+
+      const url = layerLinks[layer.options.layerId];
+      
+      if (url) {
+        const link = document.createElement("a");
+        link.href = url;
+        link.target = "_blank";
+        link.rel = "noopener";
+        link.title = "Layer Info";

Must be translatable

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

Message ID: <openstreetmap/openstreetmap-website/pull/6669/review/3624170092 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260102/ad73e23f/attachment.htm>


More information about the rails-dev mailing list