Ignore:
Timestamp:
2017-09-08T22:02:38+02:00 (2 years ago)
Author:
bastiK
Message:

closes #15273, see #15229, see #15182 - add command line interface module for projections

  • run josm project --help to see the options
  • extracts parser from LatLon and CustomProjection into LatLonParser
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/JumpToAction.java

    r12639 r12792  
    2020import org.openstreetmap.josm.data.Bounds;
    2121import org.openstreetmap.josm.data.coor.LatLon;
     22import org.openstreetmap.josm.data.coor.conversion.LatLonParser;
    2223import org.openstreetmap.josm.gui.ExtendedDialog;
    2324import org.openstreetmap.josm.gui.MainApplication;
     
    161162            } catch (NumberFormatException ex) {
    162163                try {
    163                     ll = LatLon.parse(lat.getText() + "; " + lon.getText());
     164                    ll = LatLonParser.parse(lat.getText() + "; " + lon.getText());
    164165                } catch (IllegalArgumentException ex2) {
    165166                    JOptionPane.showMessageDialog(Main.parent,
Note: See TracChangeset for help on using the changeset viewer.