diff options
Diffstat (limited to 'src/cgeo/geocaching/mapsforge/mfMapFactory.java')
| -rw-r--r-- | src/cgeo/geocaching/mapsforge/mfMapFactory.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cgeo/geocaching/mapsforge/mfMapFactory.java b/src/cgeo/geocaching/mapsforge/mfMapFactory.java index 2031187..fa665ec 100644 --- a/src/cgeo/geocaching/mapsforge/mfMapFactory.java +++ b/src/cgeo/geocaching/mapsforge/mfMapFactory.java @@ -1,5 +1,6 @@ package cgeo.geocaching.mapsforge; +import android.app.Activity; import android.content.Context; import cgeo.geocaching.R; import cgeo.geocaching.cgCoord; @@ -14,7 +15,7 @@ import cgeo.geocaching.mapinterfaces.UserOverlayItemImpl; public class mfMapFactory implements MapFactory{ @Override - public Class getMapClass() { + public Class<?extends Activity> getMapClass() { return mfMapActivity.class; } @@ -38,7 +39,7 @@ public class mfMapFactory implements MapFactory{ mfOverlay baseOvl = new mfOverlay(ovlIn); return baseOvl; } - + @Override public CacheOverlayItemImpl getCacheOverlayItem(cgCoord coordinate, String type) { mfCacheOverlayItem baseItem = new mfCacheOverlayItem(coordinate, type); |
