| 
														
															@@ -37,7 +37,6 @@ class AlarmLayer { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         eventBus.on("alarmList:changeMapLayer", function ({url, type,name}) { 
														 | 
														
														 | 
														
															         eventBus.on("alarmList:changeMapLayer", function ({url, type,name}) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             that.plantLayer && that.kmap.map.removeLayer(that.plantLayer.layer) 
														 | 
														
														 | 
														
															             that.plantLayer && that.kmap.map.removeLayer(that.plantLayer.layer) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             that.nameStr = name 
														 | 
														
														 | 
														
															             that.nameStr = name 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            console.log('sdadas',url); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             that.initWarningLayer(url, type,name) 
														 | 
														
														 | 
														
															             that.initWarningLayer(url, type,name) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }) 
														 | 
														
														 | 
														
															         }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         // 种植面积,预估产量,底图切换 
														 | 
														
														 | 
														
															         // 种植面积,预估产量,底图切换 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -67,16 +66,18 @@ class AlarmLayer { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if(name==='日间温度'){ 
														 | 
														
														 | 
														
															         if(name==='日间温度'){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             text = '从化地块日温' 
														 | 
														
														 | 
														
															             text = '从化地块日温' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             path = this.warningLayers[text] 
														 | 
														
														 | 
														
															             path = this.warningLayers[text] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            return 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }else if(name==='夜间温度'){ 
														 | 
														
														 | 
														
															         }else if(name==='夜间温度'){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             text = '从化地块夜温' 
														 | 
														
														 | 
														
															             text = '从化地块夜温' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             path = this.warningLayers[text] 
														 | 
														
														 | 
														
															             path = this.warningLayers[text] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            return 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }else if(name==='土壤水分'){ 
														 | 
														
														 | 
														
															         }else if(name==='土壤水分'){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             text = '从化地块水分' 
														 | 
														
														 | 
														
															             text = '从化地块水分' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             path = this.warningLayers[text] 
														 | 
														
														 | 
														
															             path = this.warningLayers[text] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            return 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }else{ 
														 | 
														
														 | 
														
															         }else{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             path = layerUrl 
														 | 
														
														 | 
														
															             path = layerUrl 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        console.log('path',path); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.warningLayer = this.kmap.addXYZLayer( 
														 | 
														
														 | 
														
															         this.warningLayer = this.kmap.addXYZLayer( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             path, 
														 | 
														
														 | 
														
															             path, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             { minZoom: 5, maxZoom: 22 }, 
														 | 
														
														 | 
														
															             { minZoom: 5, maxZoom: 22 }, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -103,7 +104,6 @@ class AlarmLayer { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     togglePlantLayer(name) { 
														 | 
														
														 | 
														
															     togglePlantLayer(name) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         const url = this.warningLayers[name] 
														 | 
														
														 | 
														
															         const url = this.warningLayers[name] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         // const url = "https://birdseye-img.sysuimars.com/map/szts/{z}/{x}/{y}.png" 
														 | 
														
														 | 
														
															         // const url = "https://birdseye-img.sysuimars.com/map/szts/{z}/{x}/{y}.png" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        // console.log('uu', url); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.plantLayer && this.kmap.map.removeLayer(this.plantLayer.layer) 
														 | 
														
														 | 
														
															         this.plantLayer && this.kmap.map.removeLayer(this.plantLayer.layer) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         // 104.3017367175,30.329292136 
														 | 
														
														 | 
														
															         // 104.3017367175,30.329292136 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.plantLayer = this.kmap.addXYZLayer( 
														 | 
														
														 | 
														
															         this.plantLayer = this.kmap.addXYZLayer( 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -139,7 +139,6 @@ class AlarmLayer { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     // 切换地图区域 
														 | 
														
														 | 
														
															     // 切换地图区域 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     changeDistrict(id) { 
														 | 
														
														 | 
														
															     changeDistrict(id) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        console.log('id',id); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         VE_API.warning.fetchAreaDistrict({ id }).then(({ data }) => { 
														 | 
														
														 | 
														
															         VE_API.warning.fetchAreaDistrict({ id }).then(({ data }) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             if (data.geom) { 
														 | 
														
														 | 
														
															             if (data.geom) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 let f = new Feature({ 
														 | 
														
														 | 
														
															                 let f = new Feature({ 
														 |