]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
Remember user's choice of directions engine
[rails.git] / app / controllers / api_controller.rb
index eb59a8a8df0bda5da97d218ceee62bd99ed4393d..ce1a217cd130c5fa5e07ac210a56b1c9621435f8 100644 (file)
@@ -263,6 +263,9 @@ class ApiController < ApplicationController
     area = XML::Node.new "area"
     area["maximum"] = MAX_REQUEST_AREA.to_s
     api << area
+    notearea = XML::Node.new "note_area"
+    notearea["maximum"] = MAX_NOTE_REQUEST_AREA.to_s
+    api << notearea
     tracepoints = XML::Node.new "tracepoints"
     tracepoints["per_page"] = TRACEPOINTS_PER_PAGE.to_s
     api << tracepoints