- Timestamp:
- 2016-04-25T20:00:33+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r10142 r10155 1223 1223 x1 = t2.getXIndex(); 1224 1224 y1 = t2.getYIndex(); 1225 double centerLon = Main.getProjection().eastNorth2latlon(Main.map.mapView.getCenter()).lon(); 1226 1227 if (topLeft.lon() > centerLon) { 1228 x0 = tileSource.getTileXMin(zoom); 1229 } 1230 if (botRight.lon() < centerLon) { 1231 x1 = tileSource.getTileXMax(zoom); 1232 } 1225 1233 1226 1234 if (x0 > x1) {
Note:
See TracChangeset
for help on using the changeset viewer.