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/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to