Changeset 12541 in josm for trunk/src/org/openstreetmap/josm/gui/layer
- Timestamp:
- 2017-07-30T06:29:03+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r12279 r12541 993 993 drawImageInside(g, img, anchorImage, anchorScreen, null); 994 994 } 995 if (tile instanceof ReprojectionTile ) {995 if (tile instanceof ReprojectionTile && ((ReprojectionTile) tile).needsUpdate(Main.map.mapView.getScale())) { 996 996 // This means we have a reprojected tile in memory cache, but not at 997 997 // current scale. Generally, the positioning of the tile will still … … 999 999 // reprojected to the target scale. The original tile image should 1000 1000 // still be in disk cache, so this is fairly cheap. 1001 if (((ReprojectionTile) tile).needsUpdate(Main.map.mapView.getScale())) { 1002 ((ReprojectionTile) tile).invalidate(); 1003 loadTile(tile, false); 1004 } 1001 ((ReprojectionTile) tile).invalidate(); 1002 loadTile(tile, false); 1005 1003 } 1006 1004
Note:
See TracChangeset
for help on using the changeset viewer.