Changes between Initial Version and Version 1 of Ticket #12681, comment 8


Ignore:
Timestamp:
2016-04-22T10:11:53+02:00 (9 years ago)
Author:
bastiK

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12681, comment 8

    initial v1  
    11In [source:trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java?rev=10142#L1203 TileSet(EastNorth topLeft, EastNorth botRight, int zoom)] coordinates are converted from EastNorth to LatLon, then in [source:trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java?rev=10142#L1218 line 1218] converted back to EastNorth (sort of). It should help to use the EastNorth coordinates directly for tile index calculation.
     2Edit: Would only work if current projection is set to Mercator.