]> git.openstreetmap.org Git - rails.git/blob - app/views/api/map/_bounds.xml.builder
Rename the notes#mine action to index
[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)