projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Localisation updates from https://translatewiki.net.
[rails.git]
/
lib
/
bounding_box.rb
diff --git
a/lib/bounding_box.rb
b/lib/bounding_box.rb
index
6582a30
..
d1c39f1
100644
(file)
--- a/
lib/bounding_box.rb
+++ b/
lib/bounding_box.rb
@@
-69,7
+69,7
@@
class BoundingBox
self
end
- def check_size(max_area =
MAX_REQUEST_AREA
)
+ def check_size(max_area =
Settings.max_request_area
)
# check the bbox isn't too large
if area > max_area
raise OSM::APIBadBoundingBox, "The maximum bbox size is " + max_area.to_s +