From: Harry Wood Date: Sun, 1 Mar 2009 22:24:07 +0000 (+0000) Subject: setting lon2 correctly. Was displaying one of the bbox numbers wrong X-Git-Tag: live~7622^2~62 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/0272d30b9683fb3a4bb6b63940373b17a5c6cf60 setting lon2 correctly. Was displaying one of the bbox numbers wrong --- diff --git a/app/views/changeset/_changeset.rhtml b/app/views/changeset/_changeset.rhtml index 83b0b0ce8..69d8933f6 100644 --- a/app/views/changeset/_changeset.rhtml +++ b/app/views/changeset/_changeset.rhtml @@ -22,7 +22,7 @@ lat1 = changeset.min_lat/GeoRecord::SCALE.to_f lat2 = changeset.max_lat/GeoRecord::SCALE.to_f lon1 = changeset.min_lon/GeoRecord::SCALE.to_f - lon2 = changeset.min_lon/GeoRecord::SCALE.to_f + lon2 = changeset.max_lon/GeoRecord::SCALE.to_f %> (<%= format("%0.3f",lat1) -%>,<%= format("%0.3f",lon1) -%>) to (<%= format("%0.3f",lat2) -%>,<%= format("%0.3f",lon2) -%>)