| 
					
				 | 
			
			
				@@ -8,7 +8,7 @@ import WKT from "ol/format/WKT.js"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import ScaleLine from "ol/control/ScaleLine"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { useRouter } from "vue-router"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import Overlay from 'ol/Overlay' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import eventBus from "@/api/eventBus"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @description 地图层对象 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -23,7 +23,7 @@ class HomeMap { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     let level = 6; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     let coordinate = util.wktCastGeom(location).getFirstCoordinate(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.kmap = new KMap.Map(target, level, coordinate[0], coordinate[1], null, 6, 22); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    eventBus.emit('warningMap:init', this.kmap); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.addPopup() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.addMapListen() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -59,7 +59,7 @@ class HomeMap { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         that.popup.setPosition(event.coordinate); // 设置弹窗位置为点击位置 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // that.popup.setPosition(undefined); // 如果没有点击到feature,则隐藏弹窗 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 在这里可以获取feature的属性,并显示在弹窗中 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let content = '<div>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // for (let key in feature.getProperties()) { 
			 |