Changeset 6042 in josm for trunk/src/org
- Timestamp:
- 2013-06-29T09:29:40+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java
r5963 r6042 44 44 import org.openstreetmap.gui.jmapviewer.MemoryTileCache; 45 45 import org.openstreetmap.gui.jmapviewer.OsmFileCacheTileLoader; 46 import org.openstreetmap.gui.jmapviewer.OsmFileCacheTileLoader.TileClearController;47 46 import org.openstreetmap.gui.jmapviewer.OsmTileLoader; 48 47 import org.openstreetmap.gui.jmapviewer.Tile; 48 import org.openstreetmap.gui.jmapviewer.interfaces.CachedTileLoader; 49 49 import org.openstreetmap.gui.jmapviewer.interfaces.TileCache; 50 import org.openstreetmap.gui.jmapviewer.interfaces.TileClearController; 50 51 import org.openstreetmap.gui.jmapviewer.interfaces.TileLoaderListener; 51 52 import org.openstreetmap.gui.jmapviewer.interfaces.TileSource; … … 229 230 void clearTileCache(ProgressMonitor monitor) { 230 231 tileCache.clear(); 231 if (tileLoader instanceof OsmFileCacheTileLoader) {232 (( OsmFileCacheTileLoader)tileLoader).clearCache(tileSource, new TmsTileClearController(monitor));232 if (tileLoader instanceof CachedTileLoader) { 233 ((CachedTileLoader)tileLoader).clearCache(tileSource, new TmsTileClearController(monitor)); 233 234 } 234 235 }
Note:
See TracChangeset
for help on using the changeset viewer.