[openstreetmap/openstreetmap-website] Move map layer ids/codes/keys to layer definition data (PR #5349)

Anton Khorev notifications at github.com
Thu Nov 21 18:01:49 UTC 2024


Next step after #5348. Removes all layer-specific code from `leaflet.map.js`.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Collect map layer credits into a data structure
  * Move map layer ids/codes/keys to layer definition data

-- File Changes --

    M app/assets/javascripts/leaflet.map.js (250)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list