mirror of
				https://github.com/ethan-zf/cesium-plot-js.git
				synced 2025-11-04 01:04:18 +00:00 
			
		
		
		
	fix: 绘制中途退出,残留线段问题
This commit is contained in:
		
							parent
							
								
									23bdc3e899
								
							
						
					
					
						commit
						905ece0186
					
				@ -824,6 +824,7 @@ export default class Base {
 | 
			
		||||
      this.polygonEntity = null;
 | 
			
		||||
      this.outlineEntity = null;
 | 
			
		||||
      this.lineEntity = null;
 | 
			
		||||
	  if(this.points.length <= 2) this.removeTempLine();
 | 
			
		||||
    } else if (this.type === 'line') {
 | 
			
		||||
      this.viewer.entities.remove(this.lineEntity);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user