Changeset 4065 in josm for trunk/src/org/openstreetmap/josm/data/osm/visitor/BoundingXYVisitor.java
- Timestamp:
- 2011-05-01T21:56:49+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/BoundingXYVisitor.java
r2686 r4065 56 56 if(b != null) 57 57 { 58 visit(b. min);59 visit(b. max);58 visit(b.getMin()); 59 visit(b.getMax()); 60 60 } 61 61 } … … 84 84 public boolean hasExtend() 85 85 { 86 return bounds != null && !bounds. min.equals(bounds.max);86 return bounds != null && !bounds.getMin().equals(bounds.getMax()); 87 87 } 88 88 … … 113 113 if (bounds == null) 114 114 return; 115 LatLon minLatlon = Main.proj.eastNorth2latlon(bounds. min);116 LatLon maxLatlon = Main.proj.eastNorth2latlon(bounds. max);115 LatLon minLatlon = Main.proj.eastNorth2latlon(bounds.getMin()); 116 LatLon maxLatlon = Main.proj.eastNorth2latlon(bounds.getMax()); 117 117 bounds = new ProjectionBounds( 118 118 Main.proj.latlon2eastNorth(new LatLon(minLatlon.lat() - enlargeDegree, minLatlon.lon() - enlargeDegree)),
Note:
See TracChangeset
for help on using the changeset viewer.