diff options
Diffstat (limited to 'main/src/cgeo/geocaching/geopoint/Viewport.java')
| -rw-r--r-- | main/src/cgeo/geocaching/geopoint/Viewport.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/geopoint/Viewport.java b/main/src/cgeo/geocaching/geopoint/Viewport.java index ef80ae3..71508c3 100644 --- a/main/src/cgeo/geocaching/geopoint/Viewport.java +++ b/main/src/cgeo/geocaching/geopoint/Viewport.java @@ -32,4 +32,8 @@ public class Viewport { public double getLongitudeMax() { return topRight.getLongitude(); } + + public String toString() { + return "(" + bottomLeft.toString() + "," + topRight.toString() + ")"; + } } |
