-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements(@nodes) do |node|
json.partial! node
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements([@node]) do |node|
json.partial! node
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements(@elems) do |old_node|
json.partial! old_node
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements([@old_element]) do |old_node|
json.partial! old_node
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements(@elems) do |old_relation|
json.partial! old_relation
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements([@old_element]) do |old_relation|
json.partial! old_relation
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements(@elems) do |old_way|
json.partial! old_way
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements([@old_element]) do |old_way|
json.partial! old_way
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
all = @nodes + @ways + @relations
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements(@relations) do |relation|
json.partial! relation
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements(@relations) do |relation|
json.partial! relation
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements(@relations) do |relation|
json.partial! relation
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements(@relations) do |relation|
json.partial! relation
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements([@relation]) do |relation|
json.partial! relation
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
all = @nodes + [@way]
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements(@ways) do |way|
json.partial! way
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements([@way]) do |way|
json.partial! way
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
json.elements(@ways) do |way|
json.partial! way