blob: 476d78d0d20f6857ea64fabcb83b67657162447a (
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.googlemaps;
import com.google.android.maps.GeoPoint;
import com.google.android.maps.Projection;
import android.graphics.Point;
import cgeo.geocaching.mapinterfaces.GeoPointImpl;
import cgeo.geocaching.mapinterfaces.MapProjectionImpl;
public class googleMapProjection implements MapProjectionImpl {
private Projection projection;
public googleMapProjection(Projection projectionIn) {
projection = projectionIn;
}
@Override
public void toPixels(GeoPointImpl leftGeo, Point left) {
projection.toPixels((GeoPoint) leftGeo, left);
}
@Override
public Object getImpl() {
return projection;
}
}
|