Ignore:
Timestamp:
2009-12-29T06:25:40+01:00 (10 years ago)
Author:
mjulius
Message:

moved MAX_SERVER_PRECISION from Projection to LatLon
LatLon.getRoundedToOsmPrecision() now also uses MAX_SERVER_PRECISION to be consistent with LatLon.equalEpsilon()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/Projection.java

    r2612 r2699  
    1313 */
    1414public interface Projection {
    15     /**
    16      * Minimum difference in location to not be represented as the same position.
    17      * The API returns 7 decimals.
    18      */
    19     public static final double MAX_SERVER_PRECISION = 5e-8;
    20 
    2115    /**
    2216     * List of all available projections.
Note: See TracChangeset for help on using the changeset viewer.