[openstreetmap/openstreetmap-website] Migrate `/export/embed.html` from leaflet to maplibre (PR #6804)

Marwin Hochfelsner notifications at github.com
Thu Mar 19 15:23:59 UTC 2026


@hlfan commented on this pull request.



> +    attribHTML += termsLink.outerHTML;
+
+    // check if attribution string is different to minimize DOM changes
+    if (attribHTML === this._attribHTML) return;
+
+    this._innerContainer.innerHTML = attribHTML;
+    this._attribHTML = attribHTML;
+    this._updateCompact();
+
+    // Update report link href after initial render
+    if (this._includeReportLink) {
+      this._updateReportLink();
+    }
+  }
+
+  _buildCreditHtml(credit) {

So the exceptions in the recursion for thunderforest's, hot, or CyclOSM layers are intended?

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

Message ID: <openstreetmap/openstreetmap-website/pull/6804/review/3975933001 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260319/6ba6f31a/attachment.htm>


More information about the rails-dev mailing list