X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/11cc4a5e601dd288d601e6e35a72d159062f18b5..2ca1576e9a1bc5863be14d98bd9f5bf99b280d0d:/app/views/api/map/_bounds.xml.builder?ds=inline diff --git a/app/views/api/map/_bounds.xml.builder b/app/views/api/map/_bounds.xml.builder index 8a38e21ea..0a4181c37 100644 --- a/app/views/api/map/_bounds.xml.builder +++ b/app/views/api/map/_bounds.xml.builder @@ -1,8 +1,8 @@ attrs = { - "minlat" => format("%.7f", bounds.min_lat), - "minlon" => format("%.7f", bounds.min_lon), - "maxlat" => format("%.7f", bounds.max_lat), - "maxlon" => format("%.7f", bounds.max_lon) + "minlat" => format("%.7f", :lat => bounds.min_lat), + "minlon" => format("%.7f", :lon => bounds.min_lon), + "maxlat" => format("%.7f", :lat => bounds.max_lat), + "maxlon" => format("%.7f", :lon => bounds.max_lon) } xml.bounds(attrs)