]> git.openstreetmap.org Git - rails.git/blob - app/views/api/map/_bounds.json.jbuilder
Merge pull request #4919 from rkoeze/rkoeze/add-github-pr-template
[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