Changeset 14260 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2018-09-19T00:49:18+02:00 (6 years ago)
Author:
wiktorn
Message:

Fix unnecessary tile downloads.

Only download tiles from upper levels when we finished downloading all tiles in
currentZoomLevel.

Closes: #16747
See: #14562

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java

    r14248 r14260  
    15651565                         *  See: #14562
    15661566                         */
    1567                         ts2.loadAllTiles(false);
     1567                        if (!ts.hasLoadingTiles()) {
     1568                            ts2.loadAllTiles(false);
     1569                        }
    15681570                    }
    15691571                }
Note: See TracChangeset for help on using the changeset viewer.