Changeset 386

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

Increasing max default zoomlevel

Location:
trunk/geowebcache/src/main/java/org/geowebcache/layer
Files:
2 modified

Legend:

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

    r348 r386  
    3939    private volatile int zoomStart = 0; 
    4040     
    41     private volatile int zoomStop = 25; 
     41    private volatile int zoomStop = 30; 
    4242     
    4343    public Grid(SRS srs, BBOX bounds, BBOX gridBounds, double[] resolutions) { 
  • trunk/geowebcache/src/main/java/org/geowebcache/layer/GridCalculator.java

    r367 r386  
    6969    public GridCalculator(Grid grid) throws GeoWebCacheException { 
    7070 
     71        //TODO this is messed up, ignoring Grid object 
    7172        this.grid = grid; 
    7273        this.zoomStart = 0; 
    73         this.zoomStop = 25; 
     74        this.zoomStop = 30; 
    7475        //this.metaWidth = metaWidth; 
    7576        //this.metaHeight = metaHeight; 
    7677 
    77         this.resolutions = grid.resolutions; 
     78        if(grid.resolutions != null) { 
     79            this.resolutions = grid.resolutions; 
     80            this.zoomStop = resolutions.length + 1; 
     81        } 
    7882         
    7983        //BBOX layerBounds = grid.bounds;