Changeset 16458 in osm for applications/editors/josm/plugins/slippymap
- Timestamp:
- 2009-07-12T20:25:26+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap/SlippyMapLayer.java
r16457 r16458 577 577 if (ts.tilesSpanned() > (18*18)) { 578 578 System.out.println("too many tiles, decreasing zoom from " + currentZoomLevel); 579 if (decreaseZoomLevel()) { 579 if (decreaseZoomLevel()) 580 580 this.paint(oldg, mv); 581 } 582 return; 583 }//end of if more than 18*18 581 return; 582 } 584 583 585 584 if (ts.tilesSpanned() <= 0) { 586 585 System.out.println("doesn't even cover one tile, increasing zoom from " + currentZoomLevel); 587 if (increaseZoomLevel()) { 588 this.paint(oldg, mv); 589 } 590 return; 591 } 586 if (increaseZoomLevel()) 587 this.paint(oldg, mv); 588 return; 589 } 592 590 593 591 int fontHeight = g.getFontMetrics().getHeight();
Note:
See TracChangeset
for help on using the changeset viewer.