code: function(zoom) {
          zoom = Math.max(0, Math.min(zoom, this.resolutions.length - 1));
          var resolution;
          if(this.map.fractionalZoom) {
              var low = Math.floor(zoom);
              var high = Math.ceil(zoom);
              resolution = this.resolutions[low] -
                  ((zoom-low) * (this.resolutions[low]-this.resolutions[high]));
          } else {
              resolution = this.resolutions[Math.round(zoom)];
          }
          return resolution;
      }
docs: APIMethod: getResolutionForZoom
  
  Parameters:
  zoom - {Float}
  
  Returns:
  {Float} A suitable resolution for the specified zoom.