Ignore:
Timestamp:
2016-08-15T14:45:38+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #13287 - Projection updates to support multiple projections (patch by michael2402) - gsoc-core

Location:
trunk/src/org/openstreetmap/josm/data/projection/proj
Files:
2 edited

Legend:

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

    r10378 r10805  
    120120        return scaleFactor;
    121121    }
     122
     123    @Override
     124    public boolean lonIsLinearToEast() {
     125        return true;
     126    }
    122127}
  • trunk/src/org/openstreetmap/josm/data/projection/proj/Proj.java

    r10001 r10805  
    9191     */
    9292    boolean isGeographic();
     93
     94    /**
     95     * Checks wether the result of projecting a lon coordinate only has a linear relation to the east coordinate and
     96     * is not related to lat/north at all.
     97     * @return <code>true</code> if lon has a linear relationship to east only.
     98     * @since 10805
     99     */
     100    default boolean lonIsLinearToEast() {
     101        return false;
     102    }
    93103}
Note: See TracChangeset for help on using the changeset viewer.