aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/Geocache.java
diff options
context:
space:
mode:
authorrsudev <rsudev@googlemail.com>2013-07-10 16:39:47 +0200
committerrsudev <rsudev@googlemail.com>2013-07-10 16:39:47 +0200
commit190343a9809863574642498c9d3d746c86f97d1b (patch)
tree9133ec6f60999fec4039a3b7ecfbf3bb4c19e90e /main/src/cgeo/geocaching/Geocache.java
parent3dfb1b3c5aea16e7a5d730f2ec7327e381f0236d (diff)
downloadcgeo-190343a9809863574642498c9d3d746c86f97d1b.zip
cgeo-190343a9809863574642498c9d3d746c86f97d1b.tar.gz
cgeo-190343a9809863574642498c9d3d746c86f97d1b.tar.bz2
Fix #2962, Live map empty after loading has finished
Did not take zoomlevel into account when checking, thereby removing caches from cached tiles
Diffstat (limited to 'main/src/cgeo/geocaching/Geocache.java')
-rw-r--r--main/src/cgeo/geocaching/Geocache.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java
index 1f1bd3b..dd292f9 100644
--- a/main/src/cgeo/geocaching/Geocache.java
+++ b/main/src/cgeo/geocaching/Geocache.java
@@ -1490,6 +1490,10 @@ public class Geocache implements ICache, IWaypoint {
storeCache(this, null, newListId, false, handler);
}
+ public int getZoomLevel() {
+ return this.zoomlevel;
+ }
+
public void setZoomlevel(int zoomlevel) {
this.zoomlevel = zoomlevel;
}