Changeset 9630 in josm for trunk/src/org
- Timestamp:
- 2016-01-25T18:04:40+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
r9628 r9630 41 41 public class CustomProjection extends AbstractProjection { 42 42 43 /* 44 * Equation taken from: 45 * https://github.com/openlayers/ol3/blob/master/src/ol/proj/proj.js#L48-#L49 46 * Value for Radius taken form: 47 * https://github.com/openlayers/ol3/blob/master/src/ol/sphere/normal.js#L11 48 */ 43 49 private static final double METER_PER_UNIT_DEGREE = 2 * Math.PI * 6370997 / 360; 44 50 private static final Map<String, Double> UNITS_TO_METERS = getUnitsToMeters();
Note:
See TracChangeset
for help on using the changeset viewer.