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