e.key === 'Enter' && handleToggleCollapse()} >
Flight Timeline
{#if !isCollapsed}
Time:
{timeElapsed}
{#if currentPosition}
Altitude:
{Math.round(currentPosition.alt)} m
Position:
{currentPosition.lat.toFixed(4)}, {currentPosition.lng.toFixed(4)}
{/if}
{#if !isPlaying}
{:else}
{/if}
{playbackSpeed}x
{/if}