X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/72b05157ae4d59177cd2fb667c42328b203374f1..a7ea614dd05af2a53b30e1dce6bfe29044e1f5a5:/app/controllers/api_controller.rb diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index 855e05888..1af148455 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -16,7 +16,6 @@ class ApiController < ApplicationController # Get an XML response containing a list of tracepoints that have been uploaded # within the specified bounding box, and in the specified page. def trackpoints - @@count+=1 #retrieve the page number page = params['page'].to_i unless page @@ -85,8 +84,6 @@ class ApiController < ApplicationController # fetched. All the nodes and ways that are referenced by those ways are then # fetched. Finally all the xml is returned. def map - GC.start - @@count+=1 # Figure out the bbox bbox = params['bbox']