Changeset 32664 in osm for applications/viewer/jmapviewer
- Timestamp:
- 2016-07-17T12:39:43+02:00 (8 years ago)
- Location:
- applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/MemoryTileCache.java
r32180 r32664 131 131 protected CacheEntry(Tile tile) { 132 132 this.tile = tile; 133 } 134 135 @Override 136 public String toString() { 137 return tile.toString(); 133 138 } 134 139 } -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Tile.java
r32389 r32664 228 228 } 229 229 230 /** 231 * @return tile indexes as TileXY object 232 */ 233 public TileXY getTileXY() { 234 return new TileXY(xtile, ytile); 235 } 236 230 237 public BufferedImage getImage() { 231 238 return image; -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/TileXY.java
r31435 r32664 20 20 * Returns an instance of coordinates. 21 21 * 22 * @param dnumber of the tile23 * @param enumber of the tile22 * @param x number of the tile 23 * @param y number of the tile 24 24 */ 25 public TileXY(double d, double e) {26 this.x = d;27 this.y = e;25 public TileXY(double x, double y) { 26 this.x = x; 27 this.y = y; 28 28 } 29 29
Note:
See TracChangeset
for help on using the changeset viewer.