Changeset 16730 in osm for applications/editors/josm/plugins/slippymap/src
- Timestamp:
- 2009-07-30T10:15:12+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
r16463 r16730 322 322 // that we want to draw the most recently 323 323 // requested images now. We may have panned 324 // or zoomed away 324 // or zoomed away 325 325 tile = downloadQueue.removeLast(); 326 326 Image img = tile.loadImage(); … … 399 399 * the current one isn't loaded, then try the last one. 400 400 * Should be good enough. If we've never seen one, then 401 * guess. 401 * guess. 402 402 */ 403 403 if (lastScaledImage != null) { … … 412 412 * If the zoom scale gets really, really off, these can get into 413 413 * the millions, so make this a double to prevent integer 414 * overflows. 414 * overflows. 415 415 */ 416 416 double drawWidth = p1.x - p0.x; … … 614 614 } 615 615 } 616 616 617 617 /** 618 618 */ … … 655 655 } 656 656 if (zoomIncreaseAllowed() && (ts.tilesSpanned() < 1.0)) { 657 this.debug("doesn't even cover one tile (" + ts.tilesSpanned() 657 this.debug("doesn't even cover one tile (" + ts.tilesSpanned() 658 658 + "), increasing zoom from " + currentZoomLevel); 659 659 if (increaseZoomLevel()) … … 696 696 this.paintTileImages(g, ts, currentZoomLevel); 697 697 g.setColor(Color.red); 698 698 699 699 for (Tile t : ts.allTiles()) { 700 700 // This draws the vertical lines for the entire
Note:
See TracChangeset
for help on using the changeset viewer.