#COUNT is the number of map requests to allow before exiting and starting a new process
after_filter :compress_output
#COUNT is the number of map requests to allow before exiting and starting a new process
@@ -136,7+137,7 @@ class ApiController < ApplicationController
end
# get all the nodes
end
# get all the nodes
- nodes = Node.find(:all, :conditions => ['latitude BETWEEN ? AND ? AND longitude BETWEEN ? AND ? AND visible = 1', min_lat, max_lat, min_lon, max_lon])