Changeset 4329 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2011-08-21T17:45:53+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java
r4328 r4329 1166 1166 } 1167 1167 // Find highest zoom level with at least one visible tile 1168 while (displayZoomLevel > dts.minZoom && 1169 !dts.getTileSetInfo(displayZoomLevel).hasVisibleTiles) { 1170 displayZoomLevel--; 1168 for (int tmpZoom = zoom; tmpZoom > dts.minZoom; tmpZoom--) { 1169 if (dts.getTileSetInfo(tmpZoom).hasVisibleTiles) { 1170 displayZoomLevel = tmpZoom; 1171 break; 1172 } 1171 1173 } 1172 1174 // Do binary search between currentZoomLevel and displayZoomLevel
Note:
See TracChangeset
for help on using the changeset viewer.