Changeset 26973 in osm for applications/viewer/jmapviewer/src/org/openstreetmap
- Timestamp:
- 2011-10-28T01:41:06+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/TemplatedTMSTileSource.java
r26950 r26973 75 75 .replaceAll(PATTERN_X, Integer.toString(tilex)) 76 76 .replaceAll(PATTERN_Y, Integer.toString(tiley)) 77 .replaceAll(PATTERN_Y_YAHOO, Integer.toString((int)Math.pow(2, zoom -1)-1-tiley));77 .replaceAll(PATTERN_Y_YAHOO, Integer.toString((int)Math.pow(2, zoom)-1-tiley)); 78 78 if (rand != null) { 79 79 r = r.replaceAll(PATTERN_SWITCH, randomParts[rand.nextInt(randomParts.length)]);
Note:
See TracChangeset
for help on using the changeset viewer.