Bounds should be treated as floating point
This commit is contained in:
parent
bed2405973
commit
afb4fedbd7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue