aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/maps/google/GoogleCacheOverlay.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/maps/google/GoogleCacheOverlay.java')
-rw-r--r--main/src/cgeo/geocaching/maps/google/GoogleCacheOverlay.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/maps/google/GoogleCacheOverlay.java b/main/src/cgeo/geocaching/maps/google/GoogleCacheOverlay.java
index 3339650..adfa8b5 100644
--- a/main/src/cgeo/geocaching/maps/google/GoogleCacheOverlay.java
+++ b/main/src/cgeo/geocaching/maps/google/GoogleCacheOverlay.java
@@ -8,6 +8,7 @@ import cgeo.geocaching.maps.interfaces.MapViewImpl;
import com.google.android.maps.ItemizedOverlay;
import com.google.android.maps.MapView;
+import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Point;
@@ -24,9 +25,9 @@ public class GoogleCacheOverlay extends ItemizedOverlay<GoogleCacheOverlayItem>
private CachesOverlay base;
private Lock lock = new ReentrantLock();
- public GoogleCacheOverlay(Context contextIn, Drawable markerIn) {
+ public GoogleCacheOverlay(Context contextIn, Drawable markerIn, Activity activity) {
super(boundCenterBottom(markerIn));
- base = new CachesOverlay(this, contextIn);
+ base = new CachesOverlay(this, contextIn, activity);
}
@Override