Changeset 14515 in josm for trunk/test/unit/org
- Timestamp:
- 2018-12-05T23:25:21+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreferenceTestIT.java
r14514 r14515 120 120 try { 121 121 ImageryBounds bounds = info.getBounds(); 122 ICoordinate center = CoordinateConversion.llToCoor(bounds != null ? bounds.getCenter() : LatLon.ZERO); 122 // Some imagery sources do not define tiles at (0,0). So pickup Greenwich Royal Observatory for global sources 123 ICoordinate center = CoordinateConversion.llToCoor(bounds != null ? bounds.getCenter() : new LatLon(51.47810, -0.00170)); 123 124 AbstractTileSource tileSource = getTileSource(info); 124 125 checkTileUrl(info, tileSource, center, info.getMinZoom());
Note:
See TracChangeset
for help on using the changeset viewer.