diff options
Diffstat (limited to 'main/src/cgeo/geocaching/maps/mapsforge/MapsforgeOtherCachersOverlayItem.java')
-rw-r--r-- | main/src/cgeo/geocaching/maps/mapsforge/MapsforgeOtherCachersOverlayItem.java | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/main/src/cgeo/geocaching/maps/mapsforge/MapsforgeOtherCachersOverlayItem.java b/main/src/cgeo/geocaching/maps/mapsforge/MapsforgeOtherCachersOverlayItem.java deleted file mode 100644 index f80664e..0000000 --- a/main/src/cgeo/geocaching/maps/mapsforge/MapsforgeOtherCachersOverlayItem.java +++ /dev/null @@ -1,32 +0,0 @@ -package cgeo.geocaching.maps.mapsforge; - -import cgeo.geocaching.go4cache.Go4CacheUser; -import cgeo.geocaching.maps.OtherCachersOverlayItem; -import cgeo.geocaching.maps.interfaces.OtherCachersOverlayItemImpl; - -import org.mapsforge.android.maps.overlay.OverlayItem; -import org.mapsforge.core.GeoPoint; - -import android.content.Context; -import android.graphics.drawable.Drawable; - -public class MapsforgeOtherCachersOverlayItem extends OverlayItem implements OtherCachersOverlayItemImpl { - private final OtherCachersOverlayItem item; - - public MapsforgeOtherCachersOverlayItem(Context context, Go4CacheUser user) { - super(new GeoPoint(user.getCoords().getLatitudeE6(), user.getCoords().getLongitudeE6()), user.getUsername(), ""); - item = new OtherCachersOverlayItem(context, user); - } - - @Override - public Drawable getMarker(int state) { - Drawable marker = item.getMarker(); - setMarker(marker); - return marker; - } - - @Override - public Go4CacheUser getUser() { - return item.getUser(); - } -} |