]> git.openstreetmap.org Git - rails.git/blob - app/views/api/map/_bounds.xml.builder
8a38e21ea8cf16ee52d5a9f8a6d01cda503b431e
[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)