aboutsummaryrefslogtreecommitdiffstats
path: root/src/cgeo/geocaching/googlemaps/googleMapFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgeo/geocaching/googlemaps/googleMapFactory.java')
-rw-r--r--src/cgeo/geocaching/googlemaps/googleMapFactory.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cgeo/geocaching/googlemaps/googleMapFactory.java b/src/cgeo/geocaching/googlemaps/googleMapFactory.java
index 86e75a0..28bfca5 100644
--- a/src/cgeo/geocaching/googlemaps/googleMapFactory.java
+++ b/src/cgeo/geocaching/googlemaps/googleMapFactory.java
@@ -7,14 +7,16 @@ import cgeo.geocaching.cgUser;
import cgeo.geocaching.mapinterfaces.CacheOverlayItemImpl;
import cgeo.geocaching.mapinterfaces.GeoPointImpl;
import cgeo.geocaching.mapinterfaces.MapFactory;
-import cgeo.geocaching.mapinterfaces.OverlayImpl;
import cgeo.geocaching.mapinterfaces.OverlayBase;
+import cgeo.geocaching.mapinterfaces.OverlayImpl;
import cgeo.geocaching.mapinterfaces.UserOverlayItemImpl;
+import com.google.android.maps.MapActivity;
+
public class googleMapFactory implements MapFactory{
@Override
- public Class getMapClass() {
+ public Class<?extends MapActivity> getMapClass() {
return googleMapActivity.class;
}
@@ -38,7 +40,7 @@ public class googleMapFactory implements MapFactory{
googleOverlay baseOvl = new googleOverlay(ovlIn);
return baseOvl;
}
-
+
@Override
public CacheOverlayItemImpl getCacheOverlayItem(cgCoord coordinate, String type) {
googleCacheOverlayItem baseItem = new googleCacheOverlayItem(coordinate, type);