fix: 修复resetView视角和离开地球隐藏tooltip
This commit is contained in:
@@ -301,6 +301,8 @@ function onMouseMove(event, camera) {
|
||||
showTooltip(event.clientX + 10, event.clientY + 10,
|
||||
`纬度: ${coords.lat}°<br>经度: ${coords.lon}°<br>海拔: ${coords.alt.toFixed(1)} km`);
|
||||
}
|
||||
} else {
|
||||
hideTooltip();
|
||||
}
|
||||
|
||||
if (isDragging) {
|
||||
|
||||
Reference in New Issue
Block a user