[openstreetmap/openstreetmap-website] Maplibre embeds from leaflet to maplibre (PR #6804)

Frank Elsinga notifications at github.com
Thu Feb 12 03:20:04 UTC 2026


@CommanderStorm 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;

Credits and TOS are currently not used on the embed (it is sort of partial) on osm.org

Is this intentional or a bug?

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

Message ID: <openstreetmap/openstreetmap-website/pull/6804/review/3788542659 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260211/40bda6c3/attachment-0001.htm>


More information about the rails-dev mailing list