Changeset 1605 in josm


Ignore:
Timestamp:
2009-05-19T19:11:56+02:00 (16 years ago)
Author:
stoecker
Message:

fixed #2425. set default projection to Mercator. It looks much better than EPSG:4326

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

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

    r1592 r1605  
    3636import org.openstreetmap.josm.data.UndoRedoHandler;
    3737import org.openstreetmap.josm.data.osm.DataSet;
    38 import org.openstreetmap.josm.data.projection.Epsg4326;
     38import org.openstreetmap.josm.data.projection.Mercator;
    3939import org.openstreetmap.josm.data.projection.Projection;
    4040import org.openstreetmap.josm.gui.ExtendedDialog;
     
    257257        } catch (final Exception e) {
    258258            e.printStackTrace();
    259             JOptionPane.showMessageDialog(null, tr("The projection could not be read from preferences. Using EPSG:4326"));
    260             Main.proj = new Epsg4326();
     259            JOptionPane.showMessageDialog(null, tr("The projection could not be read from preferences. Using Mercartor"));
     260            Main.proj = new Mercator();
    261261        }
    262262
  • trunk/src/org/openstreetmap/josm/data/Preferences.java

    r1480 r1605  
    2828import org.openstreetmap.josm.Main;
    2929import org.openstreetmap.josm.actions.AboutAction;
    30 import org.openstreetmap.josm.data.projection.Epsg4326;
     30import org.openstreetmap.josm.data.projection.Mercator;
    3131import org.openstreetmap.josm.gui.preferences.ProxyPreferences;
    3232import org.openstreetmap.josm.tools.ColorHelper;
     
    344344        put("selectionlist.visible", true);
    345345        put("commandstack.visible", true);
    346         put("projection", Epsg4326.class.getName());
    347         put("osm-server.url", "http://www.openstreetmap.org/api");
     346        put("projection", Mercator.class.getName());
     347        put("osm-server.url", "http://api.openstreetmap.org/api");
    348348        if (System.getProperty("os.name").toUpperCase().indexOf("WINDOWS") == -1) {
    349349            put("laf", "javax.swing.plaf.metal.MetalLookAndFeel");
Note: See TracChangeset for help on using the changeset viewer.