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

Frank Elsinga notifications at github.com
Thu Feb 12 08:21:29 UTC 2026


@CommanderStorm commented on this pull request.



> @@ -0,0 +1,123 @@
+OSM.MapLibre.AttributionControl = class extends maplibregl.AttributionControl {

> You may use a mechanism to fade/collapse the attribution under certain conditions:
> - automatically on map interaction such as panning, clicking, or zoomin
>
> If the attribution has been collapsed, the user must still be able to find the licence information if they look for it, for example from an ‘(i)’ button in the corner of the map or an ‘About’ option in a menu.

Yes, our default obviously complies. It is more a question of what option you want.

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

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


More information about the rails-dev mailing list