Changeset 14515 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2018-12-05T23:25:21+01:00 (6 years ago)
Author:
Don-vip
Message:

see #16073 - use Greenwich instead of (0,0) for global sources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreferenceTestIT.java

    r14514 r14515  
    120120        try {
    121121            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));
    123124            AbstractTileSource tileSource = getTileSource(info);
    124125            checkTileUrl(info, tileSource, center, info.getMinZoom());
Note: See TracChangeset for help on using the changeset viewer.