Changeset 387

Show
Ignore:
Timestamp:
09/04/08 19:45:47 (4 months ago)
Author:
arneke
Message:

Desync caught by unit tests, but really need to clean this up.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/geowebcache/src/main/java/org/geowebcache/layer/GridCalculator.java

    r386 r387  
    3434    // Note that they can be modified by external code -> not 100% safe! 
    3535    private final static double[] RESOLUTIONS4326 =  
    36         GridCalculator.getResolutionArray(180.0, TILEPIXELS, 26); 
     36        GridCalculator.getResolutionArray(180.0, TILEPIXELS, 31); 
    3737     
    3838    private final static double[] RESOLUTIONS900913 =  
    39         GridCalculator.getResolutionArray(20037508.34*2,TILEPIXELS, 26); 
     39        GridCalculator.getResolutionArray(20037508.34*2,TILEPIXELS, 31); 
    4040     
    4141    // The following are the width of the actual layer 
     
    7878        if(grid.resolutions != null) { 
    7979            this.resolutions = grid.resolutions; 
    80             this.zoomStop = resolutions.length + 1; 
     80            this.zoomStop = resolutions.length - 1; 
    8181        } 
    8282