Changeset 19192 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2024-08-12T21:35:07+02:00 (3 months ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/layer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r19122 r19192 966 966 } 967 967 968 /** 969 * Remove all cached error tiles 970 * @since 19192 971 */ 972 public void clearErrorTiles() { 973 tileCache.clearErrorTiles(); 974 invalidate(); 975 } 976 968 977 @Override 969 978 public boolean imageUpdate(Image img, int infoflags, int x, int y, int width, int height) { -
trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java
r16553 r19192 76 76 protected TMSTileSource getTileSource() { 77 77 return getTileSourceStatic(info, () -> { 78 Logging.debug("Attribution loaded, running loadAllErrorTiles");79 this. loadAllErrorTiles(false);78 Logging.debug("Attribution loaded, running clearErrorTiles"); 79 this.clearErrorTiles(); 80 80 }); 81 81 }
Note:
See TracChangeset
for help on using the changeset viewer.