From 0272d30b9683fb3a4bb6b63940373b17a5c6cf60 Mon Sep 17 00:00:00 2001 From: Harry Wood Date: Sun, 1 Mar 2009 22:24:07 +0000 Subject: [PATCH] setting lon2 correctly. Was displaying one of the bbox numbers wrong --- app/views/changeset/_changeset.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -%>) -- 2.45.2