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

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


### Description

This is a functional draft to get feedback on a few design questions

### How has this been tested?

Manually, running the code
- adding markers
- setting different styles
- setting different light/dark preferences
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6804

-- Commit Summary --

  * Migrate controls.js to use regular JS instead of JQuery
  * Migrate the embed page from leaflet to maplibre
  * Make shortbread embed-able

-- File Changes --

    M app/assets/javascripts/embed.js.erb (82)
    A app/assets/javascripts/maplibre/attribution.js (123)
    M app/assets/javascripts/maplibre/controls.js (6)
    A app/assets/javascripts/osm_embed.js (3)
    M app/assets/stylesheets/common.scss (3)
    M app/assets/stylesheets/embed.scss (16)
    M config/i18n.yml (1)
    M config/layers.yml (1)
    M config/locales/en.yml (4)
    M lib/map_layers.rb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6804.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6804.diff

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

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


More information about the rails-dev mailing list