[openstreetmap/openstreetmap-website] Migrate `/export/embed.html` from leaflet to maplibre (PR #6804)
Frank Elsinga
notifications at github.com
Thu Feb 12 10:03:03 UTC 2026
@CommanderStorm commented on this pull request.
> + reportLink.rel = "noopener noreferrer";
+ reportLink.className = "maplibregl-ctrl-attrib-report-link";
+ reportLink.textContent = OSM.i18n.t("javascripts.embed.report_problem");
+ attribHTML += reportLink.outerHTML + " | ";
+ }
+
+ const copyrightLink = document.createElement("a");
+ copyrightLink.href = "/copyright";
+ copyrightLink.textContent = OSM.i18n.t("javascripts.map.openstreetmap_contributors");
+
+ attribHTML += OSM.i18n.t("javascripts.map.copyright_text", {
+ copyright_link: copyrightLink.outerHTML
+ });
+
+ if (this._credit) {
+ attribHTML += this._credit.donate ? " ♥️ " : ". ";
will move this to a future PR since the ettribution is currently a bit hard to change (because under leaflet it is in a few different places)
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6804#discussion_r2797916215
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6804/review/3789944841 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260212/277563ae/attachment.htm>
More information about the rails-dev
mailing list