]> git.openstreetmap.org Git - rails.git/blob - app/views/api/map/_bounds.xml.builder
85cca01f90a27cc06c94e2b8b7c25d73b0616b1c
[rails.git] / app / views / api / map / _bounds.xml.builder
1 attrs = {
2   "minlat" => format("%.7f", @bounds.min_lat),
3   "minlon" => format("%.7f", @bounds.min_lon),
4   "maxlat" => format("%.7f", @bounds.max_lat),
5   "maxlon" => format("%.7f", @bounds.max_lon)
6 }
7
8 xml.bounds(attrs)