]> git.openstreetmap.org Git - rails.git/blob - app/views/api/map/_bounds.xml.builder
Merge remote-tracking branch 'upstream/pull/5410'
[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)