Changeset 24186 in osm for applications/editors/josm/plugins/pdfimport/src/pdfimport/OsmBuilder.java
- Timestamp:
- 2010-11-10T20:39:33+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pdfimport/src/pdfimport/OsmBuilder.java
r24056 r24186 35 35 36 36 public Bounds getWorldBounds(PathOptimizer data) { 37 LatLon min = placement.tranformCoords(data.bounds.getMinX(), data.bounds.getMinY()); 38 LatLon max = placement.tranformCoords(data.bounds.getMaxX(), data.bounds.getMaxY()); 37 LatLon min = placement.tranformCoords(new Point2D.Double(data.bounds.getMinX(), data.bounds.getMinY())); 38 LatLon max = placement.tranformCoords(new Point2D.Double(data.bounds.getMaxX(), data.bounds.getMaxY())); 39 39 return new Bounds(min, max); 40 40 } … … 62 62 for(Point2D pt: layer.points) { 63 63 Node node = new Node(); 64 node.setCoor(this.placement.tranformCoords(pt .getX(), pt.getY()));64 node.setCoor(this.placement.tranformCoords(pt)); 65 65 66 66 target.addPrimitive(node);
Note:
See TracChangeset
for help on using the changeset viewer.