Tidy whitespace
This commit is contained in:
parent
9fe97ad70f
commit
08f0621d6f
1 changed files with 1 additions and 1 deletions
|
@ -49,6 +49,7 @@ class GeocoderController < ApplicationController
|
|||
:zoom => params[:zoom],
|
||||
:name => "#{lat}, #{lon}")
|
||||
end
|
||||
|
||||
if lon >= -90 && lon <= 90 && lat >= -180 && lat <= 180
|
||||
@results.push(:lat => lon, :lon => lat,
|
||||
:zoom => params[:zoom],
|
||||
|
@ -61,7 +62,6 @@ class GeocoderController < ApplicationController
|
|||
else
|
||||
render :action => "results"
|
||||
end
|
||||
|
||||
else
|
||||
# Coordinates in a query have come with markers for latitude and longitude.
|
||||
if lat < -90 || lat > 90
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue