blob: d5f638504c6f7730d0aea1a4f76cb33b566b1ebb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package cgeo.geocaching.maps.google;
import cgeo.geocaching.geopoint.Geopoint;
import cgeo.geocaching.maps.interfaces.GeoPointImpl;
import com.google.android.maps.GeoPoint;
public class GoogleGeoPoint extends GeoPoint implements GeoPointImpl {
public GoogleGeoPoint(int latitudeE6, int longitudeE6) {
super(latitudeE6, longitudeE6);
}
@Override
public Geopoint getCoords() {
return new Geopoint(getLatitudeE6() / 1e6, getLongitudeE6() / 1e6);
}
}
|