Changeset 11104 in osm for applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewer.java
- Timestamp:
- 2008-10-09T20:25:26+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewer.java
r11103 r11104 485 485 */ 486 486 protected void zoomChanged(int oldZoom) { 487 zoomSlider.setToolTipText("Zoom level " + zoom); 488 zoomInButton.setToolTipText("Zoom to level " + (zoom + 1)); 489 zoomOutButton.setToolTipText("Zoom to level " + (zoom - 1)); 490 zoomOutButton.setEnabled(zoom > 0); 491 zoomInButton.setEnabled(zoom < tileSource.getMaxZoom()); 487 492 } 488 493
Note:
See TracChangeset
for help on using the changeset viewer.