code: function() {
      this.setOpacity(this.options.previous_opacity === undefined ? 0.99: this.options.previous_opacity);
      delete this.options.previous_opacity;
      this._interactionDisabled = false;
      this.visible = true;
    }
docs: the way to show/hidelayer is to set opacity removing the interactivty at the same time