Changeset 8704 in josm for trunk/src/org


Ignore:
Timestamp:
2015-08-31T21:27:29+02:00 (5 years ago)
Author:
wiktorn
Message:

Fix minimum zooming breaking the calculation of best-zoom and zooming in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/TemplatedWMSTileSource.java

    r8697 r8704  
    109109        degreesPerTile = new double[getMaxZoom() + 1];
    110110
    111         for (int zoom = getMinZoom(); zoom <= getMaxZoom(); zoom++) {
     111        for (int zoom = 1; zoom <= getMaxZoom(); zoom++) {
    112112            // use well known scale set "GoogleCompatibile" from OGC WMTS spec to calculate number of tiles per zoom level
    113113            // this makes the zoom levels "glued" to standard TMS zoom levels
Note: See TracChangeset for help on using the changeset viewer.