### Description This PR expands on and closes #5352, building onto the `MapLayers` library and also reusing the keys for the embed layer selection (`leafletOsmId` instead of `layer`).
### How has this been tested? Only the difference to #5352 You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/5809 -- Commit Summary -- * Put api keys directly in js layer definitions -- File Changes -- M app/assets/javascripts/embed.js.erb (28) M app/assets/javascripts/leaflet.map.js (4) M app/assets/javascripts/osm.js.erb (4) M config/layers.yml (6) A lib/map_layers.rb (19) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5809.patch https://github.com/openstreetmap/openstreetmap-website/pull/5809.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5809 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev