added application.yml, refactored map method

This commit is contained in:
Xin Zheng 2008-01-23 16:43:30 +00:00
parent ea132b001d
commit 6de965520b
6 changed files with 66 additions and 28 deletions

View file

@ -10,7 +10,7 @@ module ApiMapHelpers
when :valid
'-0.3565352711206896,51.464740877658045,-0.2686446461206896,51.508686190158045'
when :min_lat_more_than_max_lat
'-0.3565352711206896,-0.2686446461206896,51.508686190158045,51.464740877658045'
'-0.3565352711206896,51.508686190158045,-0.2686446461206896,51.464740877658045'
when :min_lon_more_than_max_lon
'51.464740877658045,-0.2686446461206896,51.508686190158045,-0.3565352711206896'
end