Improved unlinted version of #5519
![openstreetmap_embed](https://github.com/user-attachments/assets/0e868c5b-bdec-49ed-a668-93705c5ed8d3)

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add syntactic sugar to URL argument extraction
  * Shorten bbox application logic
  * Restructure layer handler to reduce repetition
  * Add layer-type switching to use dark tiles

-- File Changes --

    M app/assets/javascripts/embed.js.erb (38)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5522
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

Reply via email to