code: function(minimize) {
  
          this.maximizeDiv.style.display = minimize ? "" : "none";
          this.minimizeDiv.style.display = minimize ? "none" : "";
  
          this.layersDiv.style.display = minimize ? "none" : "";
      }
docs: Method: showControls
  Hide/Show all LayerSwitcher controls depending on whether we are
  minimized or not
  
  Parameters:
  minimize - {Boolean}