Changeset 19
- Timestamp:
- 03/31/08 17:29:27 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/net/relet/freimap/Converter.java
r1 r19 3 3 public final class Converter { 4 4 5 O SMMercatorProjection projection;5 OsmMercatorProjection projection; 6 6 7 7 public int offsetX, offsetY; 8 8 9 public void setProjection(O SMMercatorProjection p) {9 public void setProjection(OsmMercatorProjection p) { 10 10 projection = p; 11 11 } … … 67 67 void initZoom(int zoom, int viewX, int viewY) { 68 68 if (projection == null) 69 projection = new O SMMercatorProjection(0);69 projection = new OsmMercatorProjection(0); 70 70 71 71 // We want to zoom in on the center of our current screen. … … 77 77 double lat = projection.yToLat(offsetY + viewY); 78 78 79 projection = new O SMMercatorProjection(zoom);79 projection = new OsmMercatorProjection(zoom); 80 80 81 81 // Geo coordinates -> new view offset
