Changeset 17504 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2021-02-21T13:17:06+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r17496 r17504 662 662 Math.pow(2d, ZOOM_OFFSET.get()) * visibileTiles // use offset to decide, how many tiles are visible 663 663 * 8); 664 Logging.info("AbstractTileSourceLayer: estimated visible tiles: {0}, estimated cache size: {1}", visibileTiles, ret);664 Logging.info("AbstractTileSourceLayer: estimated tiles proccessed on current zoom level: {0}, estimated cache size: {1}", visibileTiles, ret); 665 665 return ret; 666 666 } … … 1977 1977 if (memory != null) { 1978 1978 doPaint(graphics); 1979 } else { 1980 Graphics g = graphics.getDefaultGraphics(); 1981 Color oldColor = g.getColor(); 1982 g.setColor(Color.BLACK); 1983 g.drawString("Not enough memory to draw layer: " + getName(), 10, 120); 1984 g.setColor(Color.RED); 1985 g.drawString("Not enough memory to draw layer: " + getName(), 11, 121); 1986 g.setColor(oldColor); 1979 1987 } 1980 1988 }
Note:
See TracChangeset
for help on using the changeset viewer.