[openstreetmap/openstreetmap-website] Migrate `/export/embed.html` from leaflet to maplibre (PR #6804)
Minh Nguyễn
notifications at github.com
Thu Feb 12 06:47:20 UTC 2026
@1ec5 commented on this pull request.
> + if (this._credit) {
+ attribHTML += this._credit.donate ? " ♥️ " : ". ";
+ attribHTML += this._buildCreditHtml(this._credit);
+ }
+
+ attribHTML += ". ";
+
+ const termsLink = document.createElement("a");
+ termsLink.href = "https://wiki.osmfoundation.org/wiki/Terms_of_Use";
+ termsLink.target = "_blank";
+ termsLink.rel = "noopener noreferrer";
+ termsLink.textContent = OSM.i18n.t("javascripts.map.website_and_api_terms");
+ attribHTML += termsLink.outerHTML;
I think this is pretty much the reason the Copyright page ends up repeating a lot of the About content. How well would the extra links fit in the default 425-pixel-wide iframe?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6804#discussion_r2797048883
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6804/review/3788998160 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260211/8f1cf35b/attachment.htm>
More information about the rails-dev
mailing list