blob: 2e6531f9867606fe7dcab56e1b41e214d7310540 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
package cgeo.geocaching.maps.google;
import cgeo.geocaching.cgCoord;
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 {
private String cacheType = null;
private cgCoord coord;
public GoogleCacheOverlayItem(cgCoord coordinate, String type) {
super(new GeoPoint(coordinate.getCoords().getLatitudeE6(), coordinate.getCoords().getLongitudeE6()), coordinate.getName(), "");
this.cacheType = type;
this.coord = coordinate;
}
public cgCoord getCoord() {
return coord;
}
public String getType() {
return cacheType;
}
}
|