[openstreetmap/openstreetmap-website] DataLayer to consume JSON format responses (PR #5563)

mmd notifications at github.com
Mon Jan 27 22:06:43 UTC 2025


https://github.com/openstreetmap/leaflet-osm/pull/44 introduced OSM JSON support in the underlying leaflet osm package. This PR enables the new feature by requesting application/json format (via Accept header).
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * DataLayer to consume JSON format responses

-- File Changes --

    M app/assets/javascripts/index/layers/data.js (5)
    M app/assets/javascripts/leaflet.map.js (6)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list