| 
					
				 | 
			
			
				@@ -914,6 +914,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.mapQuerys("mapLayerQuery"); //图层点击事件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.remove_query_click(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           viewer.entities.removeAll(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          common.clearHandlerDrawing("Polygon"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         case 2: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -943,7 +944,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         case 6: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           //联级查询 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // this.$refs.MultiLevelQuery.init_handler(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.drawPolygon() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.drawMap() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           console.log('框选事件'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -951,6 +952,27 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //绘制 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    drawMap() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (!window.handlerPolygon) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        common.initHandler("Polygon"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      common.handlerDrawing("Polygon").then( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        (res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // console.log(res.positions, "------"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //过滤掉高度 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          const filteredArr = res.positions.filter((item, index) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if ((index + 1) % 3 !== 0)   return item;}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          filteredArr.push(res.positions[0]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          filteredArr.push(res.positions[1]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          console.log(filteredArr, "max-----"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        (err) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          console.log(err); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      window.handlerPolygon.activate(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   beforeDestroy() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.removeMapLayerQuery(); 
			 |