Show
Ignore:
Timestamp:
09/05/08 02:30:42 (4 months ago)
Author:
arneke
Message:

Hooking zoomStart and zoomStop up to grid object instead of layer. More robust at looking for geowebcache.xml

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/geowebcache/src/main/java/org/geowebcache/demo/Demo.java

    r375 r388  
    166166        BBOX zoomBounds = grid.getBounds(); 
    167167        //String res = "resolutions: "+ Arrays.toString(grid.getResolutions()) + ",\n"; 
    168         String res = "maxResolution: " + Double.toString(grid.getResolutions()[0]) +",\n";  
     168        String res = "maxResolution: " + Double.toString(grid.getResolutions()[grid.getZoomStart()]) +",\n";  
    169169        String page = 
    170170            "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head>\n"