| 
					
				 | 
			
			
				@@ -93,7 +93,11 @@ class SamplePointLayer { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   initData(farmId, regionId){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     let that = this 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    VE_API.image.pointByRegionId({farmId,regionId}).then(({data})=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    let selectAll = undefined 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if(regionId===0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        selectAll = 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    VE_API.image.pointByRegionId({farmId,regionId,selectAll}).then(({data})=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let features = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       for(let item of data){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         item.iconName='defalut' 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -106,7 +110,7 @@ class SamplePointLayer { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       that.clusterSource.setSource(source) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       setTimeout(()=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        that.mapRef.fit(this.treeClusterLayer.source.getExtent(), {padding:[100,100,100,100]}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        that.mapRef.fit(that.clusterSource.source.getExtent(), {padding:[100,100,100,100]}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       },100) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 |