]> git.openstreetmap.org Git - rails.git/blob - app/views/api/map/index.xml.builder
bd70f20bdcbeb53c3816eca1254c867d4a069618
[rails.git] / app / views / api / map / index.xml.builder
1 xml.instruct!
2
3 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
4   osm << (render(:partial => "bounds") || "")
5   osm << (render(:partial => "node", :collection => @nodes) || "")
6   osm << (render(:partial => "way", :collection => @ways) || "")
7   osm << (render(:partial => "relation", :collection => @relations) || "")
8 end