| 
														
															@@ -56,11 +56,13 @@ class StaticMapLayers { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             // that.autoTest() 
														 | 
														
														 | 
														
															             // that.autoTest() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }) 
														 | 
														
														 | 
														
															         }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    show(key){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    show(key,isFit = false){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.hideAll() 
														 | 
														
														 | 
														
															         this.hideAll() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         let layer = this.layerData[key].layer 
														 | 
														
														 | 
														
															         let layer = this.layerData[key].layer 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         eventBus.emit("alarmList:changeMapLayer", {legendUrl:this.layerData[key].legend, colors:layer.layer.get("colors")}); 
														 | 
														
														 | 
														
															         eventBus.emit("alarmList:changeMapLayer", {legendUrl:this.layerData[key].legend, colors:layer.layer.get("colors")}); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         layer.show() 
														 | 
														
														 | 
														
															         layer.show() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if(isFit && layer.source.getExtent && layer.source.getExtent()) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            layer.mapInstance.fit(layer.source.getExtent(),{padding:[100,100,100,100]}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     hideAll(){ 
														 | 
														
														 | 
														
															     hideAll(){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         for(let key in this.layerData){ 
														 | 
														
														 | 
														
															         for(let key in this.layerData){ 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -112,9 +114,9 @@ class StaticMapLayers { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         let index = 0 
														 | 
														
														 | 
														
															         let index = 0 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         setInterval(() => { 
														 | 
														
														 | 
														
															         setInterval(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            that.show(keys[index]) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            that.show(keys[index],true) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             index = (index + 1) % keys.length 
														 | 
														
														 | 
														
															             index = (index + 1) % keys.length 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        }, 1000); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        }, 2000); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 |