code: function(visible) {
          if (!this._dragging) {
              this.setGMapVisibility(visible);
          }
          OpenLayers.Layer.EventPane.prototype.display.apply(this, arguments);
      }
docs: APIMethod: display
  Hide or show the Layer
  
  Parameters:
  visible - {Boolean}