aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/maps/google/GoogleMapProvider.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/maps/google/GoogleMapProvider.java')
-rw-r--r--main/src/cgeo/geocaching/maps/google/GoogleMapProvider.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/main/src/cgeo/geocaching/maps/google/GoogleMapProvider.java b/main/src/cgeo/geocaching/maps/google/GoogleMapProvider.java
index 7191428..b659042 100644
--- a/main/src/cgeo/geocaching/maps/google/GoogleMapProvider.java
+++ b/main/src/cgeo/geocaching/maps/google/GoogleMapProvider.java
@@ -1,7 +1,7 @@
package cgeo.geocaching.maps.google;
+import cgeo.geocaching.IWaypoint;
import cgeo.geocaching.R;
-import cgeo.geocaching.cgCoord;
import cgeo.geocaching.cgeoapplication;
import cgeo.geocaching.enumerations.CacheType;
import cgeo.geocaching.geopoint.Geopoint;
@@ -81,15 +81,13 @@ public class GoogleMapProvider implements MapProvider {
}
@Override
- public CachesOverlayItemImpl getCachesOverlayItem(final cgCoord coordinate, final CacheType type) {
- GoogleCacheOverlayItem baseItem = new GoogleCacheOverlayItem(coordinate, type);
- return baseItem;
+ public CachesOverlayItemImpl getCachesOverlayItem(final IWaypoint coordinate, final CacheType type) {
+ return new GoogleCacheOverlayItem(coordinate, type);
}
@Override
public OtherCachersOverlayItemImpl getOtherCachersOverlayItemBase(Context context, Go4CacheUser userOne) {
- GoogleOtherCachersOverlayItem baseItem = new GoogleOtherCachersOverlayItem(context, userOne);
- return baseItem;
+ return new GoogleOtherCachersOverlayItem(context, userOne);
}
}