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


Ignore:
Timestamp:
2012-11-01T18:43:05+01:00 (12 years ago)
Author:
bastiK
Message:

applied #8089 - "nautical mile" (NM) as new system of measurement (patch by jjaf)

File:
1 edited

Legend:

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

    r5515 r5549  
    12121212    public static final SystemOfMeasurement CHINESE_SOM = new SystemOfMeasurement(1.0/3.0, "\u5e02\u5c3a" /* chi */, 500, "\u5e02\u91cc" /* li */);
    12131213    public static final SystemOfMeasurement IMPERIAL_SOM = new SystemOfMeasurement(0.3048, "ft", 1609.344, "mi");
     1214    public static final SystemOfMeasurement NAUTICAL_MILE_SOM = new SystemOfMeasurement(185.2, "kbl", 1852, "NM");
    12141215
    12151216    public static final Map<String, SystemOfMeasurement> SYSTEMS_OF_MEASUREMENT;
     
    12191220        SYSTEMS_OF_MEASUREMENT.put(marktr("Chinese"), CHINESE_SOM);
    12201221        SYSTEMS_OF_MEASUREMENT.put(marktr("Imperial"), IMPERIAL_SOM);
     1222        SYSTEMS_OF_MEASUREMENT.put(marktr("Nautical Mile"), NAUTICAL_MILE_SOM);
    12211223    }
    12221224
Note: See TracChangeset for help on using the changeset viewer.