docs: function(extent, closest) {
          var viewSize = this.map.getSize();
          var idealResolution = Math.max( extent.getWidth()  / viewSize.w,
                                          extent.getHeight() / viewSize.h );
  
          return this.getZoomForResolution(idealResolution, closest);
      }