Changeset 10167 in josm


Ignore:
Timestamp:
2016-05-01T23:12:45+02:00 (8 years ago)
Author:
wiktorn
Message:

Fix for large imagery offsets.

See: #12681
Closes: #12810

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java

    r10155 r10167  
    12231223            x1 = t2.getXIndex();
    12241224            y1 = t2.getYIndex();
    1225             double centerLon = Main.getProjection().eastNorth2latlon(Main.map.mapView.getCenter()).lon();
     1225            double centerLon = getShiftedLatLon(Main.map.mapView.getCenter()).lon();
    12261226
    12271227            if (topLeft.lon() > centerLon) {
Note: See TracChangeset for help on using the changeset viewer.