|  | @@ -189,3 +189,25 @@ function registerEvent() {
 | 
	
		
			
				|  |  |          if ($(this).hasClass('selected')) {
 | 
	
		
			
				|  |  |              stopRotate();
 | 
	
		
			
				|  |  |              $(this).removeClass('selected');
 | 
	
		
			
				|  |  | +        } else {
 | 
	
		
			
				|  |  | +            $(this).addClass('selected');
 | 
	
		
			
				|  |  | +            restarRotate();
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  | +    // 小地图的开启/关闭按钮的鼠标点击事件
 | 
	
		
			
				|  |  | +    $('#miniMap').on('click', function () {
 | 
	
		
			
				|  |  | +        if ($(this).hasClass('active')) {
 | 
	
		
			
				|  |  | +            $(this).removeClass('active');
 | 
	
		
			
				|  |  | +            destoryMiniMap();
 | 
	
		
			
				|  |  | +        } else {
 | 
	
		
			
				|  |  | +            $(this).addClass('active');
 | 
	
		
			
				|  |  | +            createMiniMap();
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        checkBtnActives(['#mapBg', '#sceneSetting']);
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  | +    // 地图背景的开启/关闭按钮的鼠标点击事件,按钮的tip与功能面板的互相切换
 | 
	
		
			
				|  |  | +    $('#mapBg').on('click', function () {
 | 
	
		
			
				|  |  | +        checkBtnActives(['#sceneSetting']);
 | 
	
		
			
				|  |  | +        if ($(this).hasClass('active')) {
 | 
	
		
			
				|  |  | +            $(this).removeClass('active');
 | 
	
		
			
				|  |  | +            $(this).children('.control-menu').removeClass('actives');
 |