[openstreetmap/openstreetmap-website] Generate maplibre styles from `layers.yml` (PR #6772)

Marwin Hochfelsner notifications at github.com
Tue Feb 3 23:31:51 UTC 2026


I gave moving the style definitions to the maplayers lib a shot.

The OMT i18n is not yet working though...
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix tile zoom URL placeholders
  * hidpi raster tile URLs
  * Refactor map layer styles handling and remove unused styles.js file

-- File Changes --

    M app/assets/javascripts/leaflet.layers.js (10)
    M app/assets/javascripts/leaflet.map.js (16)
    M app/assets/javascripts/maplibre/map.js (3)
    D app/assets/javascripts/maplibre/styles.js (55)
    M app/assets/javascripts/osm.js.erb (4)
    M config/layers.yml (14)
    M lib/map_layers.rb (52)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list