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


Ignore:
Timestamp:
2009-06-22T10:55:12+02:00 (15 years ago)
Author:
framm
Message:

fix lat/lon mix-up in slippy map chooser introduced with latest revision

File:
1 edited

Legend:

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

    r1686 r1687  
    208208        Coordinate l1 = getPosition(p_max);
    209209        Coordinate l2 = getPosition(p_min);
    210         iGui.minlat = Math.min(l2.getLon(), l1.getLon());
    211         iGui.minlon = Math.min(l1.getLat(), l2.getLat());
    212         iGui.maxlat = Math.max(l2.getLon(), l1.getLon());
    213         iGui.maxlon = Math.max(l1.getLat(), l2.getLat());
     210        iGui.minlon = Math.min(l2.getLon(), l1.getLon());
     211        iGui.minlat = Math.min(l1.getLat(), l2.getLat());
     212        iGui.maxlon = Math.max(l2.getLon(), l1.getLon());
     213        iGui.maxlat = Math.max(l1.getLat(), l2.getLat());
    214214
    215215        iGui.boundingBoxChanged(this);
Note: See TracChangeset for help on using the changeset viewer.