blob: 901a369c3d40445cc5a7ffb4477a9a8674a84bd7 (
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
29
|
package cgeo.geocaching.maps.google.v1;
import cgeo.geocaching.maps.interfaces.GeoPointImpl;
import cgeo.geocaching.maps.interfaces.MapProjectionImpl;
import com.google.android.maps.GeoPoint;
import com.google.android.maps.Projection;
import android.graphics.Point;
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;
}
}
|