@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/[email protected]>_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev