aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/maps/google/GoogleCacheOverlayItem.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2014-07-30 10:52:22 +0200
committerSamuel Tardieu <sam@rfc1149.net>2014-07-30 11:03:01 +0200
commit583b227309e2a48894ea4496695c38f684361e65 (patch)
treeff74028c50fba5caabefda5a33a2ca9d8242b4da /main/src/cgeo/geocaching/maps/google/GoogleCacheOverlayItem.java
parent68de6a122e82c438b932e24652e7b30ae9e902e2 (diff)
downloadcgeo-583b227309e2a48894ea4496695c38f684361e65.zip
cgeo-583b227309e2a48894ea4496695c38f684361e65.tar.gz
cgeo-583b227309e2a48894ea4496695c38f684361e65.tar.bz2
Move Google maps v1 files to package cgeo.geocaching.maps.google.v1
Hopefully this will make someone motivated to create the .v2 alternative.
Diffstat (limited to 'main/src/cgeo/geocaching/maps/google/GoogleCacheOverlayItem.java')
-rw-r--r--main/src/cgeo/geocaching/maps/google/GoogleCacheOverlayItem.java30
1 files changed, 0 insertions, 30 deletions
diff --git a/main/src/cgeo/geocaching/maps/google/GoogleCacheOverlayItem.java b/main/src/cgeo/geocaching/maps/google/GoogleCacheOverlayItem.java
deleted file mode 100644
index b26654a..0000000
--- a/main/src/cgeo/geocaching/maps/google/GoogleCacheOverlayItem.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package cgeo.geocaching.maps.google;
-
-import cgeo.geocaching.IWaypoint;
-import cgeo.geocaching.maps.interfaces.CachesOverlayItemImpl;
-
-import com.google.android.maps.GeoPoint;
-import com.google.android.maps.OverlayItem;
-
-public class GoogleCacheOverlayItem extends OverlayItem implements CachesOverlayItemImpl {
- final private IWaypoint coord;
- final private boolean applyDistanceRule;
-
- public GoogleCacheOverlayItem(final IWaypoint coordinate, boolean applyDistanceRule) {
- super(new GeoPoint(coordinate.getCoords().getLatitudeE6(), coordinate.getCoords().getLongitudeE6()), coordinate.getName(), "");
-
- this.coord = coordinate;
- this.applyDistanceRule = applyDistanceRule;
- }
-
- @Override
- public IWaypoint getCoord() {
- return coord;
- }
-
- @Override
- public boolean applyDistanceRule() {
- return applyDistanceRule;
- }
-
-}