docs: function(layer) {
          if(this.active) {
              this.deactivate();
              if(this.handler) {
                  this.handler.destroy();
                  delete this.handler;
              }
              this.source = layer;
              this.activate();
          } else {
              this.source = layer;
          }
      }