Map coordinates selection

This commit is contained in:
ThePetrovich 2025-06-27 21:14:14 +08:00
parent 72c0d5e609
commit 3d609771de
5 changed files with 157 additions and 23 deletions

View file

@ -7,8 +7,6 @@
import { distHaversine } from "../lib/mathutil.ts";
import type { PredictionData, TelemetryData } from "../lib/types.ts";
/**
* @type {'prediction' | 'telemetry'}
*/
@ -153,9 +151,7 @@
{mouseLng.toFixed(6)}
</p>
</div>
<div class="panel-container">
<slot />
</div>
<slot />
{#if map}
<VelocityLayer {map} {velocityOptions} />
{/if}