Changeset 1677 in josm for trunk/src/org/openstreetmap/josm/gui/download/SlippyMapChooser.java
- Timestamp:
- 17.06.2009 10:04:22 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/SlippyMapChooser.java
r1602 r1677 33 33 /** 34 34 * JComponent that displays the slippy map tiles 35 * 35 * 36 36 * @author Tim Haussmann 37 * 37 * 38 38 */ 39 39 public class SlippyMapChooser extends JMapViewer implements DownloadSelection { … … 70 70 setMapMarkerVisible(false); 71 71 setMinimumSize(new Dimension(350, 350 / 2)); 72 // We need to set an initial size - this prevents a wrong zoom selection for 73 // the area before the component has been displayed the first time 72 // We need to set an initial size - this prevents a wrong zoom selection for 73 // the area before the component has been displayed the first time 74 74 setBounds(new Rectangle(getMinimumSize())); 75 75 setFileCacheEnabled(Main.pref.getBoolean("slippy_map_chooser.file_cache", true)); … … 180 180 * Callback for the OsmMapControl. (Re-)Sets the start and end point of the 181 181 * selection rectangle. 182 * 182 * 183 183 * @param aStart 184 184 * @param aEnd
Note: See TracChangeset
for help on using the changeset viewer.
