code: function(olZoom) {
          var zoom = null; 
          if (olZoom != null) {
              zoom = olZoom + this.minZoomLevel;
              if (this.map.baseLayer !== this) {
                  zoom = this.getZoomForResolution(
                      this.map.baseLayer.getResolutionForZoom(zoom)
                  );
              }
          }
          return zoom;
      }
docs: Method: getMapObjectZoomFromOLZoom
  Get the map object zoom level from the OL zoom level
  
  Parameters:
  olZoom - {Integer}
  
  Returns:
  {Integer} A MapObject level, translated from the passed in olZoom
  Returns null if null value is passed in