code: function() {
        
        var layer = this.layer;
        
        Event.addListener(this.element, 'mousedown', this.onMouseDown, this, true);
        Event.addListener(this.element, 'mouseup', this.onMouseUp, this, true);
        Event.addListener(this.element, 'mousemove', this.onMouseMove, this, true);
        Event.addListener(this.element, 'mouseout', this.onMouseUp, this, true);
        
        layer.eventAddWire.subscribe(this.draw, this, true);
        layer.eventRemoveWire.subscribe(this.draw, this, true);
        layer.eventAddContainer.subscribe(this.draw, this, true);
        layer.eventRemoveContainer.subscribe(this.draw, this, true);
        layer.eventContainerDragged.subscribe(this.draw, this, true);
        layer.eventContainerResized.subscribe(this.draw, this, true);
  
        Event.addListener(this.layer.el, "scroll", this.onLayerScroll, this, true);
     }
docs: Listen for various events that should redraw the layer map
  @method initEvents