Changeset 30045 in osm for applications/editors/josm/plugins/buildings_tools/src/buildings_tools/BuildingsToolsPlugin.java
- Timestamp:
- 2013-11-07T13:37:16+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/buildings_tools/src/buildings_tools/BuildingsToolsPlugin.java
r29771 r30045 1 // License: GPL. For details, see LICENSE file. 1 2 package buildings_tools; 2 3 … … 13 14 14 15 public class BuildingsToolsPlugin extends Plugin { 15 public static Projection proj= Projections.getProjectionByCode("EPSG:3857"); // Mercator16 public static final Projection MERCATOR = Projections.getProjectionByCode("EPSG:3857"); // Mercator 16 17 17 18 public static EastNorth latlon2eastNorth(LatLon p) { 18 return proj.latlon2eastNorth(p);19 return MERCATOR.latlon2eastNorth(p); 19 20 } 20 21 21 22 public static LatLon eastNorth2latlon(EastNorth p) { 22 return proj.eastNorth2latlon(p);23 return MERCATOR.eastNorth2latlon(p); 23 24 } 24 25
Note:
See TracChangeset
for help on using the changeset viewer.