Changeset 2329 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2009-10-27T10:24:35+01:00 (15 years ago)
Author:
Gubaer
Message:

Removed dependency to LatLon in JMapViewer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/SlippyMapChooser.java

    r2327 r2329  
    184184
    185185        // calc the screen coordinates for the new selection rectangle
    186         MapMarkerDot xmin_ymin = new MapMarkerDot(b.getMin());
    187         MapMarkerDot xmax_ymax = new MapMarkerDot(b.getMax());
     186        MapMarkerDot xmin_ymin = new MapMarkerDot(b.getMin().lat(), b.getMin().lon());
     187        MapMarkerDot xmax_ymax = new MapMarkerDot(b.getMax().lat(), b.getMax().lon());
    188188
    189189        Vector<MapMarker> marker = new Vector<MapMarker>(2);
Note: See TracChangeset for help on using the changeset viewer.