OpenLayers OpenLayers

Ticket #1457: fixed.patch

File fixed.patch, 0.6 kB (added by crschmidt, 10 months ago)
  • lib/OpenLayers/Layer/FixedZoomLevels.js

    old new  
    110110            for(var i= this.minZoomLevel; i <= this.maxZoomLevel; i++) { 
    111111                this.resolutions[resolutionsIndex++] = this.RESOLUTIONS[i];             
    112112            } 
    113         }         
     113        }        
     114        this.maxResolution = this.resolutions[0]; 
     115        this.minResolution = this.resolutions[this.resolutions.length - 1]; 
    114116    }, 
    115117     
    116118    /**