Changeset 30245 in osm for applications/viewer/jmapviewer/src
- Timestamp:
- 2014-01-31T13:57:14+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewer.java
r30244 r30245 960 960 if (tileSource.getMinZoom() < MIN_ZOOM) 961 961 throw new RuntimeException("Minumim zoom level too low"); 962 Coordinate position = getPosition(); 962 963 this.tileSource = tileSource; 963 964 tileController.setTileSource(tileSource); … … 968 969 setZoom(tileSource.getMaxZoom()); 969 970 } 970 971 971 attribution.initialize(tileSource); 972 setDisplayPosition(position, zoom); 972 973 repaint(); 973 974 }
Note:
See TracChangeset
for help on using the changeset viewer.