aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgCache.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/cgCache.java')
-rw-r--r--main/src/cgeo/geocaching/cgCache.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgCache.java b/main/src/cgeo/geocaching/cgCache.java
index 72e12a5..de3680e 100644
--- a/main/src/cgeo/geocaching/cgCache.java
+++ b/main/src/cgeo/geocaching/cgCache.java
@@ -98,6 +98,7 @@ public class cgCache implements ICache {
private String nameForSorting;
private final EnumSet<StorageLocation> storageLocation = EnumSet.of(StorageLocation.HEAP);
private boolean finalDefined = false;
+ private int zoomlevel = -1;
private static final Pattern NUMBER_PATTERN = Pattern.compile("\\d+");
@@ -1314,4 +1315,12 @@ public class cgCache implements ICache {
final int listId = Math.max(getListId(), StoredList.STANDARD_LIST_ID);
cgBase.storeCache(activity, this, null, listId, handler);
}
+
+ public int getZoomlevel() {
+ return this.zoomlevel;
+ }
+
+ public void setZoomlevel(int zoomlevel) {
+ this.zoomlevel = zoomlevel;
+ }
}