X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cc90867183367d7758a11da3f2058117c7529891..231bdf66cdc8239c37e1536be4fb52ce275219e3:/app/views/changeset/_changeset.rhtml 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) -%>)