Changeset 18472 in osm for applications/editors/josm
- Timestamp:
- 2009-11-06T18:56:03+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersLayer.java
r17822 r18472 207 207 g = bufferImage.getGraphics(); 208 208 209 if (!LatLon.isValidLat(topLeft.lat()) || 210 !LatLon.isValidLat(botRight.lat()) || 211 !LatLon.isValidLon(topLeft.lon()) || 212 !LatLon.isValidLon(botRight.lon())) 213 return; 214 209 215 viewportMinX = lonToTileX(topLeft.lon()); 210 216 viewportMaxX = lonToTileX(botRight.lon()); … … 366 372 @Override 367 373 public void visitBoundingBox(BoundingXYVisitor v) { 374 if (printBounds != null) 375 v.visit(printBounds); 368 376 } 369 377
Note:
See TracChangeset
for help on using the changeset viewer.