diff --git src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoader.java src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoader.java
index d7cf58b..3fd09b4 100644
|
|
|
public class TMSCachedTileLoader implements TileLoader, CachedTileLoader, TileCa
|
| 46 | 46 | */ |
| 47 | 47 | public TMSCachedTileLoader(TileLoaderListener listener, String name, int connectTimeout, int readTimeout, Map<String, String> headers, String cacheDir) throws IOException { |
| 48 | 48 | this.cache = JCSCacheManager.getCache(name, |
| 49 | | 1000, // use JCS memory cache instead of MemoryTileCache |
| | 49 | 200, // use fairly small memory cache, as cached objects are quite big, as they contain BufferedImages |
| 50 | 50 | MAX_OBJECTS_ON_DISK.get(), |
| 51 | 51 | cacheDir); |
| 52 | 52 | this.connectTimeout = connectTimeout; |