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/[email protected]>
_______________________________________________ rails-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/rails-dev
