aboutsummaryrefslogtreecommitdiffstats
path: root/src/cgeo/geocaching/mapsforge/mfCacheOverlayItem.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgeo/geocaching/mapsforge/mfCacheOverlayItem.java')
-rw-r--r--src/cgeo/geocaching/mapsforge/mfCacheOverlayItem.java49
1 files changed, 25 insertions, 24 deletions
diff --git a/src/cgeo/geocaching/mapsforge/mfCacheOverlayItem.java b/src/cgeo/geocaching/mapsforge/mfCacheOverlayItem.java
index b4c7c19..038b29b 100644
--- a/src/cgeo/geocaching/mapsforge/mfCacheOverlayItem.java
+++ b/src/cgeo/geocaching/mapsforge/mfCacheOverlayItem.java
@@ -1,34 +1,35 @@
package cgeo.geocaching.mapsforge;
+import cgeo.geocaching.cgCoord;
+import cgeo.geocaching.mapinterfaces.CacheOverlayItemImpl;
+
import org.mapsforge.android.maps.GeoPoint;
import org.mapsforge.android.maps.OverlayItem;
import android.graphics.drawable.Drawable;
-import cgeo.geocaching.cgCoord;
-import cgeo.geocaching.mapinterfaces.CacheOverlayItemImpl;
public class mfCacheOverlayItem extends OverlayItem implements CacheOverlayItemImpl {
- private String cacheType = null;
- private cgCoord coord;
-
- public mfCacheOverlayItem(cgCoord coordinate, String type) {
- super(new GeoPoint(coordinate.coords.getLatitudeE6(), coordinate.coords.getLongitudeE6()), coordinate.name, "");
-
- this.cacheType = type;
- this.coord = coordinate;
- }
-
- public cgCoord getCoord() {
- return coord;
- }
-
- public String getType() {
- return cacheType;
- }
-
- @Override
- public Drawable getMarker(int index) {
- return getMarker();
- }
+ private String cacheType = null;
+ private cgCoord coord;
+
+ public mfCacheOverlayItem(cgCoord coordinate, String type) {
+ super(new GeoPoint(coordinate.coords.getLatitudeE6(), coordinate.coords.getLongitudeE6()), coordinate.name, "");
+
+ this.cacheType = type;
+ this.coord = coordinate;
+ }
+
+ public cgCoord getCoord() {
+ return coord;
+ }
+
+ public String getType() {
+ return cacheType;
+ }
+
+ @Override
+ public Drawable getMarker(int index) {
+ return getMarker();
+ }
}