### Eclipse Workspace Patch 1.0
#P JOSM
|
|
|
|
| 629 | 629 | } // end paint |
| 630 | 630 | |
| 631 | 631 | @Override public void visitBoundingBox(BoundingXYVisitor v) { |
| 632 | | for (WayPoint p : data.waypoints) |
| | 632 | |
| | 633 | for (WayPoint p : data.waypoints){ |
| | 634 | if(data.waypoints.size() == 1){ |
| | 635 | v.visit(new WayPoint(new LatLon(p.latlon.lat()+15,p.latlon.lon()+15)).eastNorth); |
| | 636 | v.visit(new WayPoint(new LatLon(p.latlon.lat()-15,p.latlon.lon()-15)).eastNorth); |
| | 637 | } |
| 633 | 638 | v.visit(p.eastNorth); |
| | 639 | } |
| 634 | 640 | |
| 635 | 641 | for (GpxRoute rte : data.routes) { |
| 636 | 642 | Collection<WayPoint> r = rte.routePoints; |