Changeset 1605 in josm
- Timestamp:
- 2009-05-19T19:11:56+02:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r1592 r1605 36 36 import org.openstreetmap.josm.data.UndoRedoHandler; 37 37 import org.openstreetmap.josm.data.osm.DataSet; 38 import org.openstreetmap.josm.data.projection. Epsg4326;38 import org.openstreetmap.josm.data.projection.Mercator; 39 39 import org.openstreetmap.josm.data.projection.Projection; 40 40 import org.openstreetmap.josm.gui.ExtendedDialog; … … 257 257 } catch (final Exception e) { 258 258 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(); 261 261 } 262 262 -
trunk/src/org/openstreetmap/josm/data/Preferences.java
r1480 r1605 28 28 import org.openstreetmap.josm.Main; 29 29 import org.openstreetmap.josm.actions.AboutAction; 30 import org.openstreetmap.josm.data.projection. Epsg4326;30 import org.openstreetmap.josm.data.projection.Mercator; 31 31 import org.openstreetmap.josm.gui.preferences.ProxyPreferences; 32 32 import org.openstreetmap.josm.tools.ColorHelper; … … 344 344 put("selectionlist.visible", true); 345 345 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"); 348 348 if (System.getProperty("os.name").toUpperCase().indexOf("WINDOWS") == -1) { 349 349 put("laf", "javax.swing.plaf.metal.MetalLookAndFeel");
Note:
See TracChangeset
for help on using the changeset viewer.