]> git.openstreetmap.org Git - rails.git/blob - app/views/api/map/_bounds.xml.builder
Bump puma from 5.6.8 to 5.6.9
[rails.git] / app / views / api / map / _bounds.xml.builder
1 attrs = {
2   "minlat" => format("%<lat>.7f", :lat => bounds.min_lat),
3   "minlon" => format("%<lon>.7f", :lon => bounds.min_lon),
4   "maxlat" => format("%<lat>.7f", :lat => bounds.max_lat),
5   "maxlon" => format("%<lon>.7f", :lon => bounds.max_lon)
6 }
7
8 xml.bounds(attrs)