code: function (onOff) {
  		if (!L.DomEvent) { return; }
  
  		onOff = onOff || 'on';
  
  		L.DomEvent[onOff](this._container, 'click', this._onMouseClick, this);
  
  		var events = ['dblclick', 'mousedown', 'mouseup', 'mouseenter',
  		              'mouseleave', 'mousemove', 'contextmenu'],
  		    i, len;
  
  		for (i = 0, len = events.length; i < len; i++) {
  			L.DomEvent[onOff](this._container, events[i], this._fireMouseEvent, this);
  		}
  
  		if (this.options.trackResize) {
  			L.DomEvent[onOff](window, 'resize', this._onResize, this);
  		}
  	}
docs: map events