]> git.openstreetmap.org Git - rails.git/blob - app/views/api/map/_bounds.json.jbuilder
Added JSON support to user preferences
[rails.git] / app / views / api / map / _bounds.json.jbuilder
1 json.bounds do
2   json.minlat GeoRecord::Coord.new(@bounds.min_lat)
3   json.minlon GeoRecord::Coord.new(@bounds.min_lon)
4   json.maxlat GeoRecord::Coord.new(@bounds.max_lat)
5   json.maxlon GeoRecord::Coord.new(@bounds.max_lon)
6 end