projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bed2405
)
Bounds should be treated as floating point
author
Tom Hughes
<tom@compton.nu>
Mon, 31 Oct 2011 10:08:49 +0000
(10:08 +0000)
committer
Tom Hughes
<tom@compton.nu>
Mon, 31 Oct 2011 10:08:49 +0000
(10:08 +0000)
app/views/site/index.html.erb
patch
|
blob
|
history
diff --git
a/app/views/site/index.html.erb
b/app/views/site/index.html.erb
index 242890e28df73c769f658c068db52abb98280b3e..d378a6ff76a3fa68bd48d7f5377a87e01e47c1e7 100644
(file)
--- a/
app/views/site/index.html.erb
+++ b/
app/views/site/index.html.erb
@@
-68,7
+68,7
@@
end
# Decide on a lat lon to initialise the map with. Various ways of doing this
if params[:bbox]
bbox = true
- minlon, minlat, maxlon, maxlat = params[:bbox].split(",").collect { |c| c.to_
i
}
+ minlon, minlat, maxlon, maxlat = params[:bbox].split(",").collect { |c| c.to_
f
}
layers = params[:layers]
box = true if params[:box] == "yes"
object_zoom = false