Changeset 26245 in osm for applications/viewer
- Timestamp:
- 2011-07-02T09:58:34+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/TemplatedTMSTileSource.java
r26244 r26245 28 28 .replaceAll("\\{y\\}", Integer.toString(tiley)) 29 29 .replaceAll("\\{!y\\}", Integer.toString((int)Math.pow(2, zoom)-1-tiley)); 30 if(r != null) { 30 if(rand != null) { 31 31 r = r.replaceAll("\\{switch:[^}]+\\}", 32 32 randomParts[rand.nextInt(randomParts.length)]);
Note:
See TracChangeset
for help on using the changeset viewer.