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

Frank Elsinga notifications at github.com
Wed Mar 18 22:42:05 UTC 2026


CommanderStorm left a comment (openstreetmap/openstreetmap-website#6804)

Sorry for the long wait.
I am currently getting figuratively killed by my master thesis.
I worked in all the feedback that I collected above on how this SHOULD work and this is what I came up with:

| regular case | no webgl |
|--------|--------|
| <img width="567" height="418" alt="image" src="https://github.com/user-attachments/assets/f76fa4cf-3368-4ffb-a8e4-d6092c5dd15d" /> | <img width="499" height="405" alt="image" src="https://github.com/user-attachments/assets/48a22912-846f-467b-915d-7b466f25ae07" /> |

So the TL;DR on the changes compared to existing:
- [maplibre default button design](https://github.com/openstreetmap/openstreetmap-website/pull/6804#discussion_r2799134667), but the Marker is OSM-green 😉
- [showing the donate and T&C link](https://github.com/openstreetmap/openstreetmap-website/pull/6804#discussion_r2799134667) 
- [Zoom/Attribution are placed on right/left depending on iframe-RTL](https://github.com/openstreetmap/openstreetmap-website/pull/6804#discussion_r2796600764)
- [/fixthemap is not shown until the style has loaded (for raster not noticable, for vector depends on network speed and location, given the roundtrip for url -> style -> fonts/sprites)](https://github.com/openstreetmap/openstreetmap-website/pull/6804#discussion_r2796603791)

I did not change:
- The [separator inconsistency (`|` vs `.`)](https://github.com/openstreetmap/openstreetmap-website/pull/6804#discussion_r2796623546)
- [`Settings.tile_cdn_url` being unused](https://github.com/openstreetmap/openstreetmap-website/pull/6804#discussion_r2796594562)
- [the attribution does not hide, even if there is a lot of text and the viewport is small, because `/fixthemap`](https://github.com/openstreetmap/openstreetmap-website/pull/6804#discussion_r2796575928)

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

Message ID: <openstreetmap/openstreetmap-website/pull/6804/c4086031740 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260318/7910b370/attachment-0001.htm>


More information about the rails-dev mailing list