openlayers/openlayers — pull request #419 by ahocevar (2012-04-19 12:15:06+00:00)
Title: Calculate zoom level from serverResolutions.

The previous way of hard-coding an offset of 1 causes an incorrect attribution for layers with a custom maxResolution. This is related to #418.