- Timestamp:
- 2012-06-30T23:07:14+02:00 (12 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r5226 r5311 384 384 final EastNorth finalNewCenter = newCenter; 385 385 386 new Thread( 387 new Runnable() { 388 public void run() { 389 for (int i=0; i<frames; i++) 390 { 391 // fixme - not use zoom history here 392 zoomTo(oldCenter.interpolate(finalNewCenter, (i+1) / frames)); 393 try { Thread.sleep(1000 / fps); } catch (InterruptedException ex) { }; 394 } 395 } 386 new Thread(){ 387 @Override 388 public void run() { 389 for (int i=0; i<frames; i++) 390 { 391 // fixme - not use zoom history here 392 zoomTo(oldCenter.interpolate(finalNewCenter, (i+1) / frames)); 393 try { Thread.sleep(1000 / fps); } catch (InterruptedException ex) { }; 396 394 } 397 ).start(); 395 } 396 }.start(); 398 397 } 399 398 } -
trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java
r5281 r5311 703 703 704 704 /** 705 * Zoom out from map.705 * Check if zooming out is allowed 706 706 * 707 * @return true, if zoom increasing was successfull, false othervise707 * @return true, if zooming out is allowed (currentZoomLevel > minZoomLevel) 708 708 */ 709 709 public boolean zoomDecreaseAllowed() { … … 711 711 } 712 712 713 /** 714 * Zoom out from map. 715 * 716 * @return true, if zoom increasing was successfull, false othervise 717 */ 713 718 public boolean decreaseZoomLevel() { 714 719 //int minZoom = this.getMinZoomLvl();
Note:
See TracChangeset
for help on using the changeset viewer.