aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgeoapplication.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/cgeoapplication.java')
-rw-r--r--main/src/cgeo/geocaching/cgeoapplication.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgeoapplication.java b/main/src/cgeo/geocaching/cgeoapplication.java
index bdad7f0..b43cf05 100644
--- a/main/src/cgeo/geocaching/cgeoapplication.java
+++ b/main/src/cgeo/geocaching/cgeoapplication.java
@@ -21,6 +21,7 @@ import android.os.Message;
import java.io.File;
import java.util.ArrayList;
+import java.util.Collection;
import java.util.Date;
import java.util.EnumSet;
import java.util.HashSet;
@@ -525,4 +526,8 @@ public class cgeoapplication extends Application {
storage.removeCaches(geocodes, removeFlags);
}
+ public Collection<? extends cgWaypoint> getWaypointsInViewport(long centerLat, long centerLon, long spanLat, long spanLon) {
+ return storage.loadWaypoints(centerLat, centerLon, spanLat, spanLon);
+ }
+
}