Changeset 9642 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2016-01-26T23:02:47+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
r9631 r9642 42 42 43 43 /* 44 * Equation taken from:45 * https://github.com/openlayers/ol3/blob/master/src/ol/proj/ proj.js#L48-#L4944 * Equation for METER_PER_UNIT_DEGREE taken from: 45 * https://github.com/openlayers/ol3/blob/master/src/ol/proj/epsg4326projection.js#L58 46 46 * Value for Radius taken form: 47 * https://github.com/openlayers/ol3/blob/master/src/ol/sphere/ normal.js#L1148 */ 49 private static final double METER_PER_UNIT_DEGREE = 2 * Math.PI * 637 0997/ 360;47 * https://github.com/openlayers/ol3/blob/master/src/ol/sphere/wgs84sphere.js#L11 48 */ 49 private static final double METER_PER_UNIT_DEGREE = 2 * Math.PI * 6378137.0 / 360; 50 50 private static final Map<String, Double> UNITS_TO_METERS = getUnitsToMeters(); 51 51 private static final Map<String, Double> PRIME_MERIDANS = getPrimeMeridians();
Note:
See TracChangeset
for help on using the changeset viewer.