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