X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1e1e61adaacf046158686832137bf5848a5ec24f..0c8b9eabf332d3aafa7ae7dc2c29c06a4b66bea1:/app/controllers/api/notes_controller.rb diff --git a/app/controllers/api/notes_controller.rb b/app/controllers/api/notes_controller.rb index c152c6272..7f508ab34 100644 --- a/app/controllers/api/notes_controller.rb +++ b/app/controllers/api/notes_controller.rb @@ -190,6 +190,10 @@ module Api bbox.check_size(Settings.max_note_request_area) notes = notes.bbox(bbox) + @min_lon = bbox.min_lon + @min_lat = bbox.min_lat + @max_lon = bbox.max_lon + @max_lat = bbox.max_lat end # Find the comments we want to return