blob: 8a03bbb745e9f7f0f0a9eaebefd91842212d3011 (
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 final Projection projection;
public GoogleMapProjection(final Projection projectionIn) {
projection = projectionIn;
}
@Override
public void toPixels(final GeoPointImpl leftGeo, final Point left) {
projection.toPixels((GeoPoint) leftGeo, left);
}
@Override
public Object getImpl() {
return projection;
}
}
|