|  | @@ -131,10 +131,14 @@ class StatusBar {
 | 
											
												
													
														|  |  		const $this = this
 |  |  		const $this = this
 | 
											
												
													
														|  |  		this._handler = new Cesium.ScreenSpaceEventHandler(viewer.scene.canvas)
 |  |  		this._handler = new Cesium.ScreenSpaceEventHandler(viewer.scene.canvas)
 | 
											
												
													
														|  |  		const mouseOverHandler = function(movement) {
 |  |  		const mouseOverHandler = function(movement) {
 | 
											
												
													
														|  | -			
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  			/* 识别屏幕位置 */
 |  |  			/* 识别屏幕位置 */
 | 
											
												
													
														|  |  			let loc = $this._getScreenClickPositionAndHeight(movement.endPosition);
 |  |  			let loc = $this._getScreenClickPositionAndHeight(movement.endPosition);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +			if (!Cesium.defined(loc)) return;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +			if (!loc.lng) return;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  			$this._posX = loc.lng.toFixed(8);
 |  |  			$this._posX = loc.lng.toFixed(8);
 | 
											
												
													
														|  |  			$this._posY = loc.lat.toFixed(8);
 |  |  			$this._posY = loc.lat.toFixed(8);
 | 
											
												
													
														|  |  			$this._posZ = loc.height.toFixed(2);
 |  |  			$this._posZ = loc.height.toFixed(2);
 |