Changeset 31353 in osm for applications/editors


Ignore:
Timestamp:
2015-07-08T21:09:29+02:00 (9 years ago)
Author:
wiktorn
Message:

Added implementation of new metods of Projection interface in JOSM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/proj4j/src/org/openstreetmap/josm/plugins/proj4j/Proj4JProjection.java

    r28394 r31353  
    9595    }
    9696
     97        @Override
     98        public double getMetersPerUnit() {             
     99                return 1.0 / proj4jCRS.getProjection().getFromMetres();
     100        }
     101
     102        @Override
     103        public boolean switchXY() {
     104                // FIXME: once PROJ4J exposes interface to this information - expose it
     105                return false;
     106        }
     107
    97108}
Note: See TracChangeset for help on using the changeset viewer.