code: function () {
          if (!this.isMapConnect || this.active) return false;
  
          this.map.events.un({
              'moveend': this.onMapMoveEnd,
              'updatesize': this.onMapUpdateSize,
              'changebaselayer': this.onChangeBaseLayer,
              scope: this
          });
  
          this.isMapConnect = false;
          return true;
      }
docs: private