- Timestamp:
- 2011-09-17T23:09:08+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/ImageryPreference.java
r4434 r4438 4 4 import static org.openstreetmap.josm.tools.I18n.marktr; 5 5 import static org.openstreetmap.josm.tools.I18n.tr; 6 import static org.openstreetmap.josm.tools.I18n.trc;7 6 8 7 import java.awt.Color; … … 57 56 import javax.swing.table.TableColumnModel; 58 57 58 import org.openstreetmap.gui.jmapviewer.Coordinate; 59 59 import org.openstreetmap.gui.jmapviewer.JMapViewer; 60 60 import org.openstreetmap.gui.jmapviewer.MapPolygonImpl; … … 65 65 import org.openstreetmap.josm.data.imagery.ImageryInfo; 66 66 import org.openstreetmap.josm.data.imagery.ImageryInfo.ImageryBounds; 67 import org.openstreetmap.josm.data.imagery.ImageryInfo.ImageryType;68 67 import org.openstreetmap.josm.data.imagery.ImageryLayerInfo; 69 68 import org.openstreetmap.josm.data.imagery.OffsetBookmark; … … 579 578 if (!mapRectangles.containsKey(i)) { 580 579 // Add new map rectangle 581 MapRectangle rectangle = new MapRectangleImpl(bounds); 580 Coordinate topLeft = new Coordinate(bounds.getMax().lat(), bounds.getMin().lon()); 581 Coordinate bottomRight = new Coordinate(bounds.getMin().lat(), bounds.getMax().lon()); 582 MapRectangle rectangle = new MapRectangleImpl(topLeft, bottomRight); 582 583 mapRectangles.put(i, rectangle); 583 584 map.addMapRectangle(rectangle);
Note:
See TracChangeset
for help on using the changeset viewer.