Changeset 31125 in osm for applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/ScanexTileSource.java
- Timestamp:
- 2015-05-14T13:25:43+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/ScanexTileSource.java
r31122 r31125 94 94 @Override 95 95 public int LatToY(double lat, int zoom) { 96 return (int )(latToTileY(lat, zoom) * OsmMercator.TILE_SIZE);96 return (int )(latToTileY(lat, zoom) * tileSize); 97 97 } 98 98 99 99 @Override 100 100 public double YToLat(int y, int zoom) { 101 return tileYToLat((double )y / OsmMercator.TILE_SIZE, zoom);101 return tileYToLat((double )y / tileSize, zoom); 102 102 } 103 103
Note:
See TracChangeset
for help on using the changeset viewer.